."},{"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