{"schema":"lig-sdk-index/1","generator":"developer-docs/publish.py 1","module":"LiGPlayerKitCore/LiGPlayerKitSceneKit/LiGPlayerKitRealityKit/LiGPlayerKitMultiplayer","version":"2.2.0","lang":"swift","platform":"ios15.0","symbols":[{"kind":"enum","module":"LiGPlayerKitCore","name":"LiGPlayerCoreModule","decl":"enum LiGPlayerCoreModule","doc":"Version marker for the `LiGPlayerKitCore` module.","md":"docs/ligplayerkitcore/ligplayercoremodule.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGPlayerCoreModule.version","decl":"static let version: String","static":true,"doc":"A hard-coded module version string.","notes":["This is not updated by releases (it reads `\"1.3.0-dev\"` in the 2.0.x line); do not use it to identify the shipped SDK version."],"md":"docs/ligplayerkitcore/ligplayercoremodule/version.md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"AnyCodingKey","decl":"struct AnyCodingKey","doc":"A `CodingKey` that accepts any string or integer, used to decode and encode untyped JSON objects.","md":"docs/ligplayerkitcore/anycodingkey.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AnyCodingKey.description","decl":"var description: String { get }","md":"docs/ligplayerkitcore/anycodingkey/description.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AnyCodingKey.debugDescription","decl":"var debugDescription: String { get }","md":"docs/ligplayerkitcore/anycodingkey/debugdescription.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AnyCodingKey.stringValue","decl":"var stringValue: String","doc":"The key string.","md":"docs/ligplayerkitcore/anycodingkey/stringvalue.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AnyCodingKey.intValue","decl":"var intValue: Int?","doc":"The integer value; `nil` when created from a string.","md":"docs/ligplayerkitcore/anycodingkey/intvalue.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AnyCodingKey.init(stringValue:)","decl":"init?(stringValue: String)","doc":"Creates a key from a string.","md":"docs/ligplayerkitcore/anycodingkey/init(stringvalue:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AnyCodingKey.init(intValue:)","decl":"init?(intValue: Int)","doc":"Creates a key from an integer; ``stringValue`` is its decimal form.","md":"docs/ligplayerkitcore/anycodingkey/init(intvalue:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ApiLightPosition","decl":"struct ApiLightPosition","doc":"Response of `GET api/v1/light_position/{id}`: the surveyed pose of a light tag.","md":"docs/ligplayerkitcore/apilightposition.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ApiLightPosition.id","decl":"let id: Int","doc":"The light-tag id.","md":"docs/ligplayerkitcore/apilightposition/id.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ApiLightPosition.location","decl":"let location: ApiLocation","doc":"The pose as position and rotation components.","md":"docs/ligplayerkitcore/apilightposition/location.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ApiLightPosition.matrix","decl":"let matrix: [Double]","doc":"The pose as 16 values of a 4×4 matrix in row-major order.","md":"docs/ligplayerkitcore/apilightposition/matrix.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ApiLightPosition.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/apilightposition/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ApiLightPosition.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/apilightposition/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ApiLocation","decl":"struct ApiLocation","doc":"Position and rotation of a light tag, as sent by the server.","md":"docs/ligplayerkitcore/apilocation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ApiLocation.x","decl":"let x: Double","doc":"Position components (`x`, `y`, `z`) and rotation about X (`rotate_x`).","md":"docs/ligplayerkitcore/apilocation/x.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ApiLocation.y","decl":"let y: Double","doc":"Position components (`x`, `y`, `z`) and rotation about X (`rotate_x`).","md":"docs/ligplayerkitcore/apilocation/y.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ApiLocation.z","decl":"let z: Double","doc":"Position components (`x`, `y`, `z`) and rotation about X (`rotate_x`).","md":"docs/ligplayerkitcore/apilocation/z.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ApiLocation.rotateX","decl":"let rotateX: Double","doc":"Position components (`x`, `y`, `z`) and rotation about X (`rotate_x`).","md":"docs/ligplayerkitcore/apilocation/rotatex.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ApiLocation.rotateY","decl":"let rotateY: Double","doc":"Rotation about Y (`rotate_y`) and Z (`rotate_z`).","md":"docs/ligplayerkitcore/apilocation/rotatey.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ApiLocation.rotateZ","decl":"let rotateZ: Double","doc":"Rotation about Y (`rotate_y`) and Z (`rotate_z`).","md":"docs/ligplayerkitcore/apilocation/rotatez.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ApiLocation.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/apilocation/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ApiLocation.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/apilocation/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"CallAIData","decl":"struct CallAIData","doc":"Request body for the AI chat call made by the call-AI action.","md":"docs/ligplayerkitcore/callaidata.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CallAIData.question","decl":"let question: String","doc":"The user's transcribed question.","md":"docs/ligplayerkitcore/callaidata/question.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CallAIData.promptId","decl":"let promptId: Int","doc":"The AI prompt id (`prompt_id`).","md":"docs/ligplayerkitcore/callaidata/promptid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CallAIData.language","decl":"let language: String","doc":"The device language identifier, for example `\"zh-Hant-TW\"`.","md":"docs/ligplayerkitcore/callaidata/language.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CallAIData.sessionId","decl":"let sessionId: String","doc":"The chat session id (`session_id`).","md":"docs/ligplayerkitcore/callaidata/sessionid.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"CallAIData.init(question:promptId:language:sessionId:)","decl":"init(question: String, promptId: Int, language: String, sessionId: String)","doc":"Creates a request body.","md":"docs/ligplayerkitcore/callaidata/init(question:promptid:language:sessionid:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"CallAIData.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/callaidata/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"CallAIData.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/callaidata/init(from:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"AsyncDownloader","decl":"class AsyncDownloader","doc":"Downloads remote assets and scene ZIP archives to local files.","md":"docs/ligplayerkitcore/asyncdownloader.md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"AsyncDownloader.ErrorState","decl":"enum ErrorState","doc":"Errors thrown by the downloader.","md":"docs/ligplayerkitcore/asyncdownloader/errorstate.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AsyncDownloader.ErrorState.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitcore/asyncdownloader/errorstate/localizeddescription.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"AsyncDownloader.ErrorState.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/asyncdownloader/errorstate/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitCore","name":"AsyncDownloader.ErrorState.HttpNotOk","decl":"case HttpNotOk","doc":"The server answered with a status outside `200...299`.","md":"docs/ligplayerkitcore/asyncdownloader/errorstate/httpnotok.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"AsyncDownloader.ErrorState.==(_:_:)","decl":"static func == (a: AsyncDownloader.ErrorState, b: AsyncDownloader.ErrorState) -> Bool","static":true,"md":"docs/ligplayerkitcore/asyncdownloader/errorstate/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AsyncDownloader.ErrorState.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/asyncdownloader/errorstate/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AsyncDownloader.ErrorState.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/asyncdownloader/errorstate/hashvalue.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AsyncDownloader.init(session:)","decl":"convenience init(session: URLSession = .shared)","doc":"Creates a downloader that uses `session` and the shared scene-ZIP cache.","md":"docs/ligplayerkitcore/asyncdownloader/init(session:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AsyncDownloader.download(url:invalidateCachedCopy:)","decl":"func download(url: URL, invalidateCachedCopy: Bool = false) async throws -> URL","doc":"Downloads `url` into the app's `Documents` directory and returns the local file URL, or returns the existing file without a request.","notes":["The cache key is the file name only. Two different URLs that end in the same file name share one local file, and the second request returns the first one's content.","The in-progress marker is created at `<file>/.downloading`, a path inside the not-yet-existing destination file, so creating it fails silently. As a result concurrent requests for the same URL all download, and ``cleanupFlagFiles()``, which only scans top-level names in `Documents`, never sees these markers."],"md":"docs/ligplayerkitcore/asyncdownloader/download(url:invalidatecachedcopy:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AsyncDownloader.StartZipDownload(_:progress:forceRefresh:onCacheStatus:)","decl":"func StartZipDownload(_ url: URL, progress: Progress?, forceRefresh: Bool = false, onCacheStatus: ((Bool) async -> Void)? = nil) async throws -> URL","doc":"Returns a local copy of the scene ZIP at `url`, from the on-disk cache when an entry for this exact URL exists, otherwise by downloading it.","md":"docs/ligplayerkitcore/asyncdownloader/startzipdownload(_:progress:forcerefresh:oncachestatus:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AsyncDownloader.clearSceneCache()","decl":"class func clearSceneCache() async","static":true,"doc":"Wipes every cached scene ZIP — the only manual deletion the cache exposes.","md":"docs/ligplayerkitcore/asyncdownloader/clearscenecache().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AsyncDownloader.cleanupFlagFiles()","decl":"class func cleanupFlagFiles()","static":true,"doc":"Deletes every file in `Documents` whose name ends in `.downloading`.","md":"docs/ligplayerkitcore/asyncdownloader/cleanupflagfiles().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AsyncDownloader.deleteData()","decl":"class func deleteData()","static":true,"doc":"Deletes downloaded asset files from the app's `Documents` directory.","notes":["Matching is by extension only, so files with these extensions that the host app itself stored in `Documents` are deleted too."],"md":"docs/ligplayerkitcore/asyncdownloader/deletedata().md"},{"kind":"class","module":"LiGPlayerKitCore","name":"Common","decl":"class Common","doc":"JSON decoding helpers used throughout the SDK.","md":"docs/ligplayerkitcore/common.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Common.decodeFromAny(decodeFrom:decodeType:dateFormat:)","decl":"class func decodeFromAny<T>(decodeFrom data: Any?, decodeType: T.Type, dateFormat: String? = nil) throws -> T? where T : Decodable, T : Encodable","static":true,"doc":"Decodes `decodeType` from a Foundation JSON object (for example a `[String: Any]` taken from a parent model).","notes":["Declared `throws` but never throws: every failure is printed to the console and returned as `nil`."],"md":"docs/ligplayerkitcore/common/decodefromany(decodefrom:decodetype:dateformat:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Common.decodeFromData(decodeFrom:decodeType:dateFormat:)","decl":"class func decodeFromData<T>(decodeFrom data: Data, decodeType: T.Type, dateFormat: String? = nil) throws -> T? where T : Decodable, T : Encodable","static":true,"doc":"Decodes `decodeType` from JSON `data` with a `JSONDecoder`.","notes":["Declared `throws` but never throws: a `DecodingError` is printed to the console and `nil` is returned, so callers cannot get the error."],"md":"docs/ligplayerkitcore/common/decodefromdata(decodefrom:decodetype:dateformat:).md"},{"kind":"protocol","module":"LiGPlayerKitCore","name":"ParametersType","decl":"protocol ParametersType : Decodable, Encodable","doc":"A `Codable` request model that can be flattened into a JSON dictionary or a URL path fragment.","md":"docs/ligplayerkitcore/parameterstype.md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"Parameters","decl":"typealias Parameters = [String : Any]","doc":"A JSON object as a Foundation dictionary.","md":"docs/ligplayerkitcore/parameters.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ParametersType.convertToParameters()","decl":"func convertToParameters() -> Parameters?","doc":"Encodes `self` with `JSONEncoder` and returns the top-level JSON object.","md":"docs/ligplayerkitcore/parameterstype/converttoparameters().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ParametersType.convertToPathParameterString()","decl":"func convertToPathParameterString() -> String?","doc":"Builds a path fragment from the property values, in declaration order.","notes":["Properties are looked up by their Swift names, so a property with a custom `CodingKeys` name is silently omitted."],"md":"docs/ligplayerkitcore/parameterstype/converttopathparameterstring().md"},{"kind":"class","module":"LiGPlayerKitCore","name":"Dijkstra","decl":"class Dijkstra","doc":"Single-source shortest paths over a set of ``DijkstraVertex`` values.","md":"docs/ligplayerkitcore/dijkstra.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Dijkstra.init(vertices:)","decl":"init(vertices: Set<DijkstraVertex>)","doc":"Creates a solver over `vertices`.","md":"docs/ligplayerkitcore/dijkstra/init(vertices:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Dijkstra.findShortestPaths(from:)","decl":"func findShortestPaths(from startVertex: DijkstraVertex)","doc":"Computes the shortest path from `startVertex` to every vertex in the set.","md":"docs/ligplayerkitcore/dijkstra/findshortestpaths(from:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"DijkstraVertex","decl":"class DijkstraVertex","doc":"A graph vertex for ``Dijkstra``, holding its weighted neighbours and the result of the last search.","notes":["Equality compares `hashValue`s, not identifiers, so two different vertices whose hashes collide compare equal. ``FinderNode`` hashes by position, so FinderNodes at the same position are equal."],"md":"docs/ligplayerkitcore/dijkstravertex.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"DijkstraVertex.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/dijkstravertex/!=(_:_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"DijkstraVertex.identifier","decl":"var identifier: String","doc":"The vertex identifier, used for hashing in the base class.","md":"docs/ligplayerkitcore/dijkstravertex/identifier.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"DijkstraVertex.neighbors","decl":"var neighbors: [(DijkstraVertex, Double)]","doc":"Outgoing edges as `(neighbour, weight)` pairs.","md":"docs/ligplayerkitcore/dijkstravertex/neighbors.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"DijkstraVertex.pathLengthFromStart","decl":"var pathLengthFromStart: Double","doc":"Total weight from the last search's start; `Double.infinity` when unreached.","md":"docs/ligplayerkitcore/dijkstravertex/pathlengthfromstart.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"DijkstraVertex.pathVerticesFromStart","decl":"var pathVerticesFromStart: [DijkstraVertex]","doc":"Vertices from the last search's start to this vertex, inclusive; empty when unreached.","md":"docs/ligplayerkitcore/dijkstravertex/pathverticesfromstart.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"DijkstraVertex.init(identifier:)","decl":"init(identifier: String)","doc":"Creates a vertex with no neighbours.","md":"docs/ligplayerkitcore/dijkstravertex/init(identifier:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"DijkstraVertex.clearCache()","decl":"func clearCache()","doc":"Resets the search results to \"unreached\".","md":"docs/ligplayerkitcore/dijkstravertex/clearcache().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"DijkstraVertex.hash(into:)","decl":"func hash(into hasher: inout Hasher)","doc":"Hashes the identifier.","md":"docs/ligplayerkitcore/dijkstravertex/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"DijkstraVertex.==(_:_:)","decl":"static func == (lhs: DijkstraVertex, rhs: DijkstraVertex) -> Bool","static":true,"doc":"Returns whether the two vertices have the same `hashValue`.","md":"docs/ligplayerkitcore/dijkstravertex/==(_:_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"DijkstraVertex.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/dijkstravertex/hashvalue.md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Navigation","decl":"struct Navigation","doc":"Indoor navigation graph decoded from a coordinate system's `navigation` field.","md":"docs/ligplayerkitcore/navigation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Navigation.paths","decl":"let paths: [Path]","doc":"Walkable edges between points.","md":"docs/ligplayerkitcore/navigation/paths.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Navigation.marks","decl":"let marks: [Mark]","doc":"Named destinations.","md":"docs/ligplayerkitcore/navigation/marks.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Navigation.map","decl":"let map: String","doc":"Map identifier or URL string as sent by the server.","md":"docs/ligplayerkitcore/navigation/map.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Navigation.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/navigation/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Navigation.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/navigation/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Mark","decl":"struct Mark","doc":"A named navigation destination.","md":"docs/ligplayerkitcore/mark.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Mark.name","decl":"let name: String","doc":"The destination name; also the key passed to ``PathFinder/buildRoute(from:to:)``.","md":"docs/ligplayerkitcore/mark/name.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Mark.location","decl":"let location: NaviLocation","doc":"The destination position.","md":"docs/ligplayerkitcore/mark/location.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Mark.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/mark/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Mark.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/mark/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"PlaceContent","decl":"struct PlaceContent","doc":"A titled landmark, pairing display text with a ``Landmark``.","md":"docs/ligplayerkitcore/placecontent.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"PlaceContent.title","decl":"let title: String","doc":"Display title.","md":"docs/ligplayerkitcore/placecontent/title.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"PlaceContent.content","decl":"let content: Landmark","doc":"The landmark.","md":"docs/ligplayerkitcore/placecontent/content.md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"NaviLocation","decl":"struct NaviLocation","doc":"A point in a navigation graph, in metres.","md":"docs/ligplayerkitcore/navilocation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NaviLocation.x","decl":"let x: Float","doc":"Coordinates of the point.","md":"docs/ligplayerkitcore/navilocation/x.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NaviLocation.y","decl":"let y: Float","doc":"Coordinates of the point.","md":"docs/ligplayerkitcore/navilocation/y.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NaviLocation.z","decl":"let z: Float","doc":"Coordinates of the point.","md":"docs/ligplayerkitcore/navilocation/z.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"NaviLocation.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/navilocation/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"NaviLocation.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/navilocation/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Path","decl":"struct Path","doc":"An undirected walkable edge from (`fx`, `fy`, `fz`) to (`tx`, `ty`, `tz`), in metres.","md":"docs/ligplayerkitcore/path.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Path.fx","decl":"let fx: Float","doc":"Start (`f*`) and end (`t*`) coordinates of the edge.","md":"docs/ligplayerkitcore/path/fx.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Path.fy","decl":"let fy: Float","doc":"Start (`f*`) and end (`t*`) coordinates of the edge.","md":"docs/ligplayerkitcore/path/fy.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Path.fz","decl":"let fz: Float","doc":"Start (`f*`) and end (`t*`) coordinates of the edge.","md":"docs/ligplayerkitcore/path/fz.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Path.tx","decl":"let tx: Float","doc":"Start (`f*`) and end (`t*`) coordinates of the edge.","md":"docs/ligplayerkitcore/path/tx.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Path.ty","decl":"let ty: Float","doc":"Start (`f*`) and end (`t*`) coordinates of the edge.","md":"docs/ligplayerkitcore/path/ty.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Path.tz","decl":"let tz: Float","doc":"Start (`f*`) and end (`t*`) coordinates of the edge.","md":"docs/ligplayerkitcore/path/tz.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Path.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/path/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Path.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/path/init(from:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"FinderNode","decl":"class FinderNode","doc":"A ``DijkstraVertex`` with a 3D position, used by ``PathFinder``.","md":"docs/ligplayerkitcore/findernode.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"FinderNode.position","decl":"final let position: simd_float3!","doc":"The node position, in metres.","md":"docs/ligplayerkitcore/findernode/position.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"FinderNode.name","decl":"var name: String!","doc":"The node name; `\"\"` for unnamed path points, or the landmark name once ``PathFinder/load(map:)`` matches a landmark to this position.","md":"docs/ligplayerkitcore/findernode/name.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"FinderNode.init(name:x:y:z:)","decl":"init(name: String?, x: Float, y: Float, z: Float)","doc":"Creates a node at a position.","md":"docs/ligplayerkitcore/findernode/init(name:x:y:z:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"FinderNode.addNeighbor(node:)","decl":"func addNeighbor(node: FinderNode)","doc":"Adds a directed edge to `node`, weighted by straight-line distance.","md":"docs/ligplayerkitcore/findernode/addneighbor(node:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"FinderNode.hash(into:)","decl":"override func hash(into hasher: inout Hasher)","doc":"Hashes the position only, so nodes at the same position are equal.","md":"docs/ligplayerkitcore/findernode/hash(into:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"NavigationPath","decl":"struct NavigationPath","doc":"An edge for ``NavigationMap``; edges with any `nil` coordinate are skipped by ``PathFinder/load(map:)``.","md":"docs/ligplayerkitcore/navigationpath.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NavigationPath.fx","decl":"var fx: Float?","doc":"Start X.","md":"docs/ligplayerkitcore/navigationpath/fx.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NavigationPath.fy","decl":"var fy: Float?","doc":"Start Y.","md":"docs/ligplayerkitcore/navigationpath/fy.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NavigationPath.fz","decl":"var fz: Float?","doc":"Start Z.","md":"docs/ligplayerkitcore/navigationpath/fz.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NavigationPath.tx","decl":"var tx: Float?","doc":"End X.","md":"docs/ligplayerkitcore/navigationpath/tx.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NavigationPath.ty","decl":"var ty: Float?","doc":"End Y.","md":"docs/ligplayerkitcore/navigationpath/ty.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NavigationPath.tz","decl":"var tz: Float?","doc":"End Z.","md":"docs/ligplayerkitcore/navigationpath/tz.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"NavigationPath.init(fx:fy:fz:tx:ty:tz:)","decl":"init(fx: Float? = nil, fy: Float? = nil, fz: Float? = nil, tx: Float? = nil, ty: Float? = nil, tz: Float? = nil)","doc":"Creates an edge from (`fx`, `fy`, `fz`) to (`tx`, `ty`, `tz`).","md":"docs/ligplayerkitcore/navigationpath/init(fx:fy:fz:tx:ty:tz:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Landmark","decl":"struct Landmark","doc":"A named point for ``NavigationMap``.","md":"docs/ligplayerkitcore/landmark.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Landmark.name","decl":"var name: String?","doc":"The landmark name.","md":"docs/ligplayerkitcore/landmark/name.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Landmark.x","decl":"var x: Float?","doc":"X coordinate; `nil` is treated as `0`.","md":"docs/ligplayerkitcore/landmark/x.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Landmark.y","decl":"var y: Float?","doc":"Y coordinate; `nil` is treated as `0`.","md":"docs/ligplayerkitcore/landmark/y.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Landmark.z","decl":"var z: Float?","doc":"Z coordinate; `nil` is treated as `0`.","md":"docs/ligplayerkitcore/landmark/z.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Landmark.init(name:x:y:z:)","decl":"init(name: String? = nil, x: Float? = nil, y: Float? = nil, z: Float? = nil)","doc":"Creates a landmark.","md":"docs/ligplayerkitcore/landmark/init(name:x:y:z:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Landmark.getNode()","decl":"func getNode() -> FinderNode","doc":"Returns a new ``FinderNode`` at this landmark's position.","md":"docs/ligplayerkitcore/landmark/getnode().md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"NavigationMap","decl":"struct NavigationMap","doc":"Input to ``PathFinder/load(map:)``: edges and named landmarks.","md":"docs/ligplayerkitcore/navigationmap.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NavigationMap.paths","decl":"var paths: [NavigationPath]?","doc":"The walkable edges.","md":"docs/ligplayerkitcore/navigationmap/paths.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"NavigationMap.marks","decl":"var marks: [Landmark]?","doc":"The named destinations.","md":"docs/ligplayerkitcore/navigationmap/marks.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"NavigationMap.init(paths:marks:)","decl":"init(paths: [NavigationPath]? = nil, marks: [Landmark]? = nil)","doc":"Creates a map.","md":"docs/ligplayerkitcore/navigationmap/init(paths:marks:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"PathFinder","decl":"class PathFinder","doc":"Routes from an arbitrary position to a named landmark over a fixed navigation graph.","md":"docs/ligplayerkitcore/pathfinder.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"PathFinder.load(map:)","decl":"class func load(map: NavigationMap?) -> PathFinder?","static":true,"doc":"Builds an undirected graph from `map`.","md":"docs/ligplayerkitcore/pathfinder/load(map:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"PathFinder.buildRoute(from:to:)","decl":"func buildRoute(from startPos: simd_float3, to destination: String) -> [DijkstraVertex]","doc":"Returns the shortest route from `startPos` to the landmark named `destination`.","notes":["If `startPos` exactly equals a graph node's position, the temporary start node is equal to that node, so it is not added and the existing node is removed from the graph when the search ends."],"md":"docs/ligplayerkitcore/pathfinder/buildroute(from:to:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"LocaleManager","decl":"class LocaleManager","doc":"Derives the language code the SDK sends to the LiG cloud.","md":"docs/ligplayerkitcore/localemanager.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LocaleManager.showLang()","decl":"class func showLang() -> String?","static":true,"doc":"Returns the device's first preferred language reduced to at most two subtags.","notes":["A two-subtag value keeps only the language (`\"en-US\"` → `\"en\"`, `\"zh-TW\"` → `\"zh\"`), so a region-only Chinese preference loses the script distinction."],"md":"docs/ligplayerkitcore/localemanager/showlang().md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"CronError","decl":"enum CronError","doc":"Errors from parsing or evaluating a cron expression.","md":"docs/ligplayerkitcore/cronerror.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CronError.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitcore/cronerror/localizeddescription.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"CronError.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/cronerror/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitCore","name":"CronError.parseError","decl":"case parseError","doc":"A step (`/n`) is malformed or applied to a single value.","md":"docs/ligplayerkitcore/cronerror/parseerror.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"CronError.formatError","decl":"case formatError","doc":"A range is malformed or out of bounds, or (from ``CrontabParser/compareNowDate(completion:)``) the expression did not parse.","md":"docs/ligplayerkitcore/cronerror/formaterror.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"CronError.castError","decl":"case castError","doc":"A field value is not an integer (for example a weekday name such as `Sun`).","md":"docs/ligplayerkitcore/cronerror/casterror.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"CronError.==(_:_:)","decl":"static func == (a: CronError, b: CronError) -> Bool","static":true,"md":"docs/ligplayerkitcore/cronerror/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"CronError.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/cronerror/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CronError.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/cronerror/hashvalue.md"},{"kind":"class","module":"LiGPlayerKitCore","name":"CrontabParser","decl":"class CrontabParser","doc":"Parses a cron-style schedule and tests whether the current minute matches it.","notes":["Day-of-month and day-of-week must both match (logical AND), unlike standard cron, which matches either when both are restricted."],"md":"docs/ligplayerkitcore/crontabparser.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"CrontabParser.init(ForPeriodActivate:)","decl":"convenience init(ForPeriodActivate format: String)","doc":"Parses a period-activation expression.","notes":["Single values are not range-checked, and weekday `7` (Sunday in standard cron) is accepted but never matches, because the current weekday is computed as `0...6`."],"md":"docs/ligplayerkitcore/crontabparser/init(forperiodactivate:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"CrontabParser.compareNowDate(completion:)","decl":"func compareNowDate(completion: @escaping (Result<Bool, CronError>) -> Void)","doc":"Reports whether the current minute matches the schedule.","notes":["Matching uses the device's current calendar and time zone. A formatter set to `Asia/Taipei` is created but never used."],"md":"docs/ligplayerkitcore/crontabparser/comparenowdate(completion:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"ZipManager","decl":"actor ZipManager","doc":"Expands a scene ZIP into the temporary directory and indexes its files by name.","md":"docs/ligplayerkitcore/zipmanager.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZipManager.withSerialExecutor(_:)","decl":"nonisolated func withSerialExecutor<T, E>(_ operation: (any SerialExecutor) throws(E) -> T) throws(E) -> T where E : Error, T : ~Copyable"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZipManager.withSerialExecutor(_:)","decl":"nonisolated func withSerialExecutor<T, E>(_ operation: nonisolated(nonsending) (any SerialExecutor) async throws(E) -> T) async throws(E) -> T where E : Error, T : ~Copyable"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZipManager.preconditionIsolated(_:file:line:)","decl":"@backDeployed(before: macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0)\nnonisolated func preconditionIsolated(_ message: @autoclosure () -> String = String(), file: StaticString = #fileID, line: UInt = #line)","md":"docs/ligplayerkitcore/zipmanager/preconditionisolated(_:file:line:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZipManager.assertIsolated(_:file:line:)","decl":"@backDeployed(before: macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0)\nnonisolated func assertIsolated(_ message: @autoclosure () -> String = String(), file: StaticString = #fileID, line: UInt = #line)","md":"docs/ligplayerkitcore/zipmanager/assertisolated(_:file:line:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZipManager.assumeIsolated(_:file:line:)","decl":"nonisolated func assumeIsolated<T>(_ operation: (isolated Self) throws -> T, file: StaticString = #fileID, line: UInt = #line) rethrows -> T where T : Sendable","md":"docs/ligplayerkitcore/zipmanager/assumeisolated(_:file:line:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ZipManager.init()","decl":"init()","doc":"Creates a manager with an empty file index.","md":"docs/ligplayerkitcore/zipmanager/init().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZipManager.unzipFile(name:)","decl":"func unzipFile(name: String)","doc":"Expands `<name>.zip` from the main app bundle into `tmp/<name>` and adds its files to the index.","md":"docs/ligplayerkitcore/zipmanager/unzipfile(name:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZipManager.unZipFile(url:)","decl":"func unZipFile(url: URL) throws","doc":"Expands the archive at `url` into `tmp/<name>` and adds its files to the index.","md":"docs/ligplayerkitcore/zipmanager/unzipfile(url:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZipManager.getFileDict()","decl":"func getFileDict() -> [String : URL]","doc":"Returns the index built so far: file name to extracted file URL.","notes":["Files with the same name in different folders of the archive share one key; the last one scanned wins."],"md":"docs/ligplayerkitcore/zipmanager/getfiledict().md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZipManager.unownedExecutor","decl":"nonisolated final var unownedExecutor: UnownedSerialExecutor { get }","md":"docs/ligplayerkitcore/zipmanager/unownedexecutor.md"},{"kind":"protocol","module":"LiGPlayerKitCore","name":"LiGAVPlayerDelegate","decl":"protocol LiGAVPlayerDelegate","doc":"Receives playback events from a ``LiGAVPlayer``.","md":"docs/ligplayerkitcore/ligavplayerdelegate.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGAVPlayerDelegate.playItemDidEnd(player:)","decl":"func playItemDidEnd(player: AVPlayer)","doc":"Called each time the player's item plays to its end.","md":"docs/ligplayerkitcore/ligavplayerdelegate/playitemdidend(player:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"LiGAVPlayer","decl":"class LiGAVPlayer","doc":"Loads an audio or video URL into an `AVPlayer` and reports end-of-item.","notes":["The end-of-item listener task keeps a strong reference to the instance, so it is not deallocated (and `deinit` does not run) until ``destroy()`` is called."],"md":"docs/ligplayerkitcore/ligavplayer.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAVPlayer.player","decl":"var player: AVPlayer?","doc":"The player, created by ``load(url:mediaType:)``; `nil` after ``destroy()``.","md":"docs/ligplayerkitcore/ligavplayer/player.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAVPlayer.asset","decl":"var asset: AVAsset?","doc":"The loaded asset; `nil` after ``destroy()``.","md":"docs/ligplayerkitcore/ligavplayer/asset.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAVPlayer.tracks","decl":"var tracks: [AVAssetTrack]","doc":"The asset's tracks of the media type requested at load.","md":"docs/ligplayerkitcore/ligavplayer/tracks.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAVPlayer.isPlayable","decl":"var isPlayable: Bool","doc":"`true` once ``load(url:mediaType:)`` has verified the asset is playable.","md":"docs/ligplayerkitcore/ligavplayer/isplayable.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAVPlayer.delegate","decl":"var delegate: (any LiGAVPlayerDelegate)?","doc":"Receives ``LiGAVPlayerDelegate/playItemDidEnd(player:)``.","notes":["Held strongly (the protocol is not class-bound); avoid a delegate that also owns this player, or call ``destroy()`` to break the cycle."],"md":"docs/ligplayerkitcore/ligavplayer/delegate.md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"LiGAVPlayer.AssetLoading","decl":"enum AssetLoading","doc":"Errors thrown by ``load(url:mediaType:)``.","md":"docs/ligplayerkitcore/ligavplayer/assetloading.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAVPlayer.AssetLoading.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitcore/ligavplayer/assetloading/localizeddescription.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"LiGAVPlayer.AssetLoading.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/ligavplayer/assetloading/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAVPlayer.AssetLoading.failed","decl":"case failed","doc":"The asset is not playable or has no track of the requested type.","md":"docs/ligplayerkitcore/ligavplayer/assetloading/failed.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAVPlayer.AssetLoading.noAsset","decl":"case noAsset","doc":"No asset was set while checking status (internal).","md":"docs/ligplayerkitcore/ligavplayer/assetloading/noasset.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"LiGAVPlayer.AssetLoading.==(_:_:)","decl":"static func == (a: LiGAVPlayer.AssetLoading, b: LiGAVPlayer.AssetLoading) -> Bool","static":true,"md":"docs/ligplayerkitcore/ligavplayer/assetloading/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGAVPlayer.AssetLoading.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/ligavplayer/assetloading/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAVPlayer.AssetLoading.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/ligavplayer/assetloading/hashvalue.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"LiGAVPlayer.init()","decl":"init()","doc":"Creates an empty player.","md":"docs/ligplayerkitcore/ligavplayer/init().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGAVPlayer.destroy()","decl":"func destroy()","doc":"Stops listening for events, pauses playback and releases the player, asset and delegate.","md":"docs/ligplayerkitcore/ligavplayer/destroy().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGAVPlayer.load(url:mediaType:)","decl":"class func load(url: URL, mediaType: AVMediaType) async throws -> LiGAVPlayer","static":true,"doc":"Loads `url`, verifies it is playable and has at least one track of `mediaType`, and creates the `AVPlayer` on the main actor.","md":"docs/ligplayerkitcore/ligavplayer/load(url:mediatype:).md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"ArModelTypeEnum","decl":"enum ArModelTypeEnum","doc":"The kind of AR object, from the scene JSON's `model.type`.","md":"docs/ligplayerkitcore/armodeltypeenum.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/armodeltypeenum/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/armodeltypeenum/init(from:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/armodeltypeenum/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/armodeltypeenum/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/armodeltypeenum/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/armodeltypeenum/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/armodeltypeenum/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.plane","decl":"case plane","doc":"Legacy image object.","md":"docs/ligplayerkitcore/armodeltypeenum/plane.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.ball","decl":"case ball","doc":"Sphere object.","md":"docs/ligplayerkitcore/armodeltypeenum/ball.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.cylinder","decl":"case cylinder","doc":"Cylinder object.","md":"docs/ligplayerkitcore/armodeltypeenum/cylinder.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.planeWithSize","decl":"case planeWithSize","doc":"Sized image plane (static image or animated GIF).","md":"docs/ligplayerkitcore/armodeltypeenum/planewithsize.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.custom3DModel","decl":"case custom3DModel","doc":"Custom 3D model file.","md":"docs/ligplayerkitcore/armodeltypeenum/custom3dmodel.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.video","decl":"case video","doc":"Video object.","md":"docs/ligplayerkitcore/armodeltypeenum/video.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.floor","decl":"case floor","doc":"Floor plane used to receive object shadows.","md":"docs/ligplayerkitcore/armodeltypeenum/floor.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.directionalLight","decl":"case directionalLight","doc":"Directional light.","md":"docs/ligplayerkitcore/armodeltypeenum/directionallight.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.omniLight","decl":"case omniLight","doc":"Omnidirectional (point) light.","md":"docs/ligplayerkitcore/armodeltypeenum/omnilight.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.newPolyhedron","decl":"case newPolyhedron","doc":"Polyhedron object, such as a ring of images.","md":"docs/ligplayerkitcore/armodeltypeenum/newpolyhedron.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.previewVideo","decl":"case previewVideo","doc":"Video object with a preview image.","md":"docs/ligplayerkitcore/armodeltypeenum/previewvideo.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.shop","decl":"case shop","doc":"Legacy shop-sign object.","md":"docs/ligplayerkitcore/armodeltypeenum/shop.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.snow","decl":"case snow","doc":"Snowfall effect plane.","md":"docs/ligplayerkitcore/armodeltypeenum/snow.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.dashboard","decl":"case dashboard","doc":"Dashboard panel.","md":"docs/ligplayerkitcore/armodeltypeenum/dashboard.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.quiz","decl":"case quiz","doc":"Quiz (question-and-answer) object.","md":"docs/ligplayerkitcore/armodeltypeenum/quiz.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.polyhedron2","decl":"case polyhedron2","doc":"Information sphere, version 2.","md":"docs/ligplayerkitcore/armodeltypeenum/polyhedron2.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.liveStream","decl":"case liveStream","doc":"Live-stream video object.","md":"docs/ligplayerkitcore/armodeltypeenum/livestream.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.recommendation","decl":"case recommendation","doc":"Recommendation panel.","md":"docs/ligplayerkitcore/armodeltypeenum/recommendation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.panoramaVideo","decl":"case panoramaVideo","doc":"360° panorama video.","md":"docs/ligplayerkitcore/armodeltypeenum/panoramavideo.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.zooMeesage","decl":"case zooMeesage","doc":"Zoo information panel (opening hours).","md":"docs/ligplayerkitcore/armodeltypeenum/zoomeesage.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.zooRecommendation","decl":"case zooRecommendation","doc":"Zoo recommendation panel.","md":"docs/ligplayerkitcore/armodeltypeenum/zoorecommendation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.zooServiceTime","decl":"case zooServiceTime","doc":"Zoo information panel — temporary 100+ project slot, re-homed from 25 (wayfinder map: lig-corp/core/adlc#160, ratified Plain 2026-10-07).","md":"docs/ligplayerkitcore/armodeltypeenum/zooservicetime.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.zooAnnouncement","decl":"case zooAnnouncement","doc":"Zoo recommendation panel — temporary 100+ project slot, re-homed from 26 (wayfinder map: lig-corp/core/adlc#160, ratified Plain 2026-10-07).","md":"docs/ligplayerkitcore/armodeltypeenum/zooannouncement.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.init(rawValue:)","decl":"init?(rawValue: Int)","md":"docs/ligplayerkitcore/armodeltypeenum/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.AllCases","decl":"typealias AllCases = [ArModelTypeEnum]"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.RawValue","decl":"typealias RawValue = Int"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.allCases","decl":"nonisolated static var allCases: [ArModelTypeEnum] { get }","static":true},{"kind":"property","module":"LiGPlayerKitCore","name":"ArModelTypeEnum.rawValue","decl":"var rawValue: Int { get }"},{"kind":"enum","module":"LiGPlayerKitCore","name":"ArEventEnum","decl":"enum ArEventEnum","doc":"The trigger of an AR-object event, from the scene JSON's `events[].id`.","md":"docs/ligplayerkitcore/areventenum.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArEventEnum.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/areventenum/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ArEventEnum.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/areventenum/init(from:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArEventEnum.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/areventenum/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArEventEnum.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/areventenum/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"ArEventEnum.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/areventenum/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArEventEnum.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/areventenum/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArEventEnum.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/areventenum/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.touch","decl":"case touch","doc":"Tap on the object.","md":"docs/ligplayerkitcore/areventenum/touch.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.pinch","decl":"case pinch","doc":"Pinch gesture.","md":"docs/ligplayerkitcore/areventenum/pinch.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.pan","decl":"case pan","doc":"Pan (drag) gesture.","md":"docs/ligplayerkitcore/areventenum/pan.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.longPress","decl":"case longPress","doc":"Long press.","md":"docs/ligplayerkitcore/areventenum/longpress.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.location","decl":"case location","doc":"Distance trigger.","md":"docs/ligplayerkitcore/areventenum/location.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.lookAt","decl":"case lookAt","doc":"The user looks at the object for `look_at_time` seconds (default 2).","md":"docs/ligplayerkitcore/areventenum/lookat.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.repeatForever","decl":"case repeatForever","doc":"Runs automatically when the scene starts and repeats forever.","md":"docs/ligplayerkitcore/areventenum/repeatforever.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.period","decl":"case period","doc":"Runs when the current minute matches the cron expression in `activate_period` (see ``CrontabParser``).","md":"docs/ligplayerkitcore/areventenum/period.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.sceneStart","decl":"case sceneStart","doc":"Runs once when the scene starts.","md":"docs/ligplayerkitcore/areventenum/scenestart.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.proximityEnter","decl":"case proximityEnter","doc":"The camera moves closer than `distance` metres to the object.","md":"docs/ligplayerkitcore/areventenum/proximityenter.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.proxymityLeave","decl":"case proxymityLeave","doc":"The camera moves farther than `distance` metres from the object.","md":"docs/ligplayerkitcore/areventenum/proxymityleave.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ArEventEnum.periodTrigger","decl":"case periodTrigger","doc":"Active during the ISO 8601 time windows listed in `periods` (`\"start>end\"`).","md":"docs/ligplayerkitcore/areventenum/periodtrigger.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ArEventEnum.init(rawValue:)","decl":"init?(rawValue: Int)","md":"docs/ligplayerkitcore/areventenum/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"ArEventEnum.AllCases","decl":"typealias AllCases = [ArEventEnum]"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"ArEventEnum.RawValue","decl":"typealias RawValue = Int"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArEventEnum.allCases","decl":"nonisolated static var allCases: [ArEventEnum] { get }","static":true},{"kind":"property","module":"LiGPlayerKitCore","name":"ArEventEnum.rawValue","decl":"var rawValue: Int { get }"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ArActionEnum","decl":"struct ArActionEnum","doc":"The kind of an action, from the scene JSON's `actions[].id`.","md":"docs/ligplayerkitcore/aractionenum.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/aractionenum/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArActionEnum.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/aractionenum/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"ArActionEnum.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/aractionenum/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArActionEnum.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/aractionenum/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/aractionenum/rawattachmentvaluerepresentation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.rawValue","decl":"let rawValue: Int","doc":"The numeric action id."},{"kind":"typealias","module":"LiGPlayerKitCore","name":"ArActionEnum.RawValue","decl":"typealias RawValue = Int","doc":"The raw value type."},{"kind":"init","module":"LiGPlayerKitCore","name":"ArActionEnum.init(rawValue:)","decl":"init(rawValue: Int)","doc":"Wraps any action id, known or not.","md":"docs/ligplayerkitcore/aractionenum/init(rawvalue:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.displayText","decl":"static let displayText: ArActionEnum","static":true,"doc":"Legacy: show a character's dialogue text.","md":"docs/ligplayerkitcore/aractionenum/displaytext.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.display2DView","decl":"static let display2DView: ArActionEnum","static":true,"doc":"Show a 2D view.","md":"docs/ligplayerkitcore/aractionenum/display2dview.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.move","decl":"static let move: ArActionEnum","static":true,"doc":"Move the object.","md":"docs/ligplayerkitcore/aractionenum/move.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.rotate","decl":"static let rotate: ArActionEnum","static":true,"doc":"Rotate the object.","md":"docs/ligplayerkitcore/aractionenum/rotate.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.displayImageOrVideo","decl":"static let displayImageOrVideo: ArActionEnum","static":true,"doc":"Show an image or video in a 2D view.","md":"docs/ligplayerkitcore/aractionenum/displayimageorvideo.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.playVideo","decl":"static let playVideo: ArActionEnum","static":true,"doc":"Play or pause the object's video.","md":"docs/ligplayerkitcore/aractionenum/playvideo.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.showHiddenNode","decl":"static let showHiddenNode: ArActionEnum","static":true,"doc":"Show a hidden object.","md":"docs/ligplayerkitcore/aractionenum/showhiddennode.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.openWeb","decl":"static let openWeb: ArActionEnum","static":true,"doc":"Open a web page.","md":"docs/ligplayerkitcore/aractionenum/openweb.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.hiddenNode","decl":"static let hiddenNode: ArActionEnum","static":true,"doc":"Hide the object.","md":"docs/ligplayerkitcore/aractionenum/hiddennode.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.animateSpeed","decl":"static let animateSpeed: ArActionEnum","static":true,"doc":"Set the speed of the 3D model's built-in animation.","md":"docs/ligplayerkitcore/aractionenum/animatespeed.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.animateControl","decl":"static let animateControl: ArActionEnum","static":true,"doc":"Play the 3D model's built-in animation (frame control).","md":"docs/ligplayerkitcore/aractionenum/animatecontrol.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.animateRepeatCount","decl":"static let animateRepeatCount: ArActionEnum","static":true,"doc":"Set the repeat count of the 3D model's built-in animation.","md":"docs/ligplayerkitcore/aractionenum/animaterepeatcount.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.rotateBy","decl":"static let rotateBy: ArActionEnum","static":true,"doc":"Rotate by a given angle.","md":"docs/ligplayerkitcore/aractionenum/rotateby.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.wait","decl":"static let wait: ArActionEnum","static":true,"doc":"Wait for a time.","md":"docs/ligplayerkitcore/aractionenum/wait.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.scale","decl":"static let scale: ArActionEnum","static":true,"doc":"Scale the object.","md":"docs/ligplayerkitcore/aractionenum/scale.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.fadeIn","decl":"static let fadeIn: ArActionEnum","static":true,"doc":"Fade in.","md":"docs/ligplayerkitcore/aractionenum/fadein.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.fadeOut","decl":"static let fadeOut: ArActionEnum","static":true,"doc":"Fade out.","md":"docs/ligplayerkitcore/aractionenum/fadeout.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.fadeOpacityBy","decl":"static let fadeOpacityBy: ArActionEnum","static":true,"doc":"Change opacity by an amount.","md":"docs/ligplayerkitcore/aractionenum/fadeopacityby.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.fadeOpacityTo","decl":"static let fadeOpacityTo: ArActionEnum","static":true,"doc":"Set opacity to a value.","md":"docs/ligplayerkitcore/aractionenum/fadeopacityto.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.rectMove","decl":"static let rectMove: ArActionEnum","static":true,"doc":"Move along a rectangle.","md":"docs/ligplayerkitcore/aractionenum/rectmove.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.curveMove","decl":"static let curveMove: ArActionEnum","static":true,"doc":"Move along a circular arc.","md":"docs/ligplayerkitcore/aractionenum/curvemove.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.moveToFace","decl":"static let moveToFace: ArActionEnum","static":true,"doc":"Move the object to in front of the camera.","md":"docs/ligplayerkitcore/aractionenum/movetoface.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.playAudio","decl":"static let playAudio: ArActionEnum","static":true,"doc":"Play a sound.","md":"docs/ligplayerkitcore/aractionenum/playaudio.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.playImpactFeedback","decl":"static let playImpactFeedback: ArActionEnum","static":true,"doc":"Vibrate (haptic feedback); style from ``ImpactFeedback``.","md":"docs/ligplayerkitcore/aractionenum/playimpactfeedback.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.switchScene","decl":"static let switchScene: ArActionEnum","static":true,"doc":"Switch to another scene.","md":"docs/ligplayerkitcore/aractionenum/switchscene.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.UIInteract","decl":"static let UIInteract: ArActionEnum","static":true,"doc":"UI interaction.","md":"docs/ligplayerkitcore/aractionenum/uiinteract.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.game","decl":"static let game: ArActionEnum","static":true,"doc":"Report a game event to the server.","md":"docs/ligplayerkitcore/aractionenum/game.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.moveTo","decl":"static let moveTo: ArActionEnum","static":true,"doc":"Move to a position.","md":"docs/ligplayerkitcore/aractionenum/moveto.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.aim","decl":"static let aim: ArActionEnum","static":true,"doc":"Turn the object to aim at a target.","md":"docs/ligplayerkitcore/aractionenum/aim.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.stopAnimation","decl":"static let stopAnimation: ArActionEnum","static":true,"doc":"Stop the 3D model's built-in animation.","md":"docs/ligplayerkitcore/aractionenum/stopanimation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.disableNode","decl":"static let disableNode: ArActionEnum","static":true,"doc":"Disable the object (it stops responding to events).","md":"docs/ligplayerkitcore/aractionenum/disablenode.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.enableNode","decl":"static let enableNode: ArActionEnum","static":true,"doc":"Enable a disabled object.","md":"docs/ligplayerkitcore/aractionenum/enablenode.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.executeServerAction","decl":"static let executeServerAction: ArActionEnum","static":true,"doc":"Server-defined action.","md":"docs/ligplayerkitcore/aractionenum/executeserveraction.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.panoramaAction","decl":"static let panoramaAction: ArActionEnum","static":true,"doc":"Panorama sphere.","md":"docs/ligplayerkitcore/aractionenum/panoramaaction.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.removeAction","decl":"static let removeAction: ArActionEnum","static":true,"doc":"Remove the object from the scene.","md":"docs/ligplayerkitcore/aractionenum/removeaction.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.callAI","decl":"static let callAI: ArActionEnum","static":true,"doc":"Ask the AI assistant and speak the reply.","md":"docs/ligplayerkitcore/aractionenum/callai.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.backToFormerScene","decl":"static let backToFormerScene: ArActionEnum","static":true,"doc":"Return to the previous scene.","md":"docs/ligplayerkitcore/aractionenum/backtoformerscene.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.gooleMap","decl":"static let gooleMap: ArActionEnum","static":true,"doc":"Open a Google Maps URL (handled like ``openWeb``).","md":"docs/ligplayerkitcore/aractionenum/goolemap.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArActionEnum.callApi","decl":"static let callApi: ArActionEnum","static":true,"doc":"Call an arbitrary HTTP API.","md":"docs/ligplayerkitcore/aractionenum/callapi.md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"ImpactFeedback","decl":"enum ImpactFeedback","doc":"Haptic style for ``ArActionEnum/playImpactFeedback``, from the action's `impactFeedbackStyle` (`0`–`3`).","md":"docs/ligplayerkitcore/impactfeedback.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ImpactFeedback.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/impactfeedback/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ImpactFeedback.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/impactfeedback/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"ImpactFeedback.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/impactfeedback/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ImpactFeedback.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/impactfeedback/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ImpactFeedback.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/impactfeedback/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ImpactFeedback.system","decl":"case system","doc":"System vibration (`kSystemSoundID_Vibrate`).","md":"docs/ligplayerkitcore/impactfeedback/system.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ImpactFeedback.light","decl":"case light","doc":"Light impact.","md":"docs/ligplayerkitcore/impactfeedback/light.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ImpactFeedback.heavy","decl":"case heavy","doc":"Heavy impact.","md":"docs/ligplayerkitcore/impactfeedback/heavy.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"ImpactFeedback.rigid","decl":"case rigid","doc":"Rigid impact.","md":"docs/ligplayerkitcore/impactfeedback/rigid.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ImpactFeedback.init(rawValue:)","decl":"init?(rawValue: Int)","md":"docs/ligplayerkitcore/impactfeedback/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"ImpactFeedback.RawValue","decl":"typealias RawValue = Int"},{"kind":"property","module":"LiGPlayerKitCore","name":"ImpactFeedback.rawValue","decl":"var rawValue: Int { get }"},{"kind":"protocol","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackDelegate","decl":"protocol LiveStreamPlaybackDelegate : AnyObject","doc":"Receives player events from a ``LiveStreamPlaybackManager``.","md":"docs/ligplayerkitcore/livestreamplaybackdelegate.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackDelegate.streamPlaybackManager(_:playerReadyToPlay:)","decl":"func streamPlaybackManager(_ streamPlaybackManager: LiveStreamPlaybackManager, playerReadyToPlay player: AVPlayer)","doc":"Called when the manager's `AVPlayer` item first becomes ready to play.","md":"docs/ligplayerkitcore/livestreamplaybackdelegate/streamplaybackmanager(_:playerreadytoplay:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackDelegate.streamPlaybackManager(_:playerCurrentItemDidChange:)","decl":"func streamPlaybackManager(_ streamPlaybackManager: LiveStreamPlaybackManager, playerCurrentItemDidChange player: AVPlayer)","doc":"Called when the player's current item changes, including when it is cleared at end of playback.","md":"docs/ligplayerkitcore/livestreamplaybackdelegate/streamplaybackmanager(_:playercurrentitemdidchange:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackManager","decl":"@objc class LiveStreamPlaybackManager","doc":"Plays a live (HLS) stream URL through one `AVPlayer`, retrying when the item fails.","md":"docs/ligplayerkitcore/livestreamplaybackmanager.md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackManager.streamUrl","decl":"typealias streamUrl = URL","doc":"The stream URL type.","md":"docs/ligplayerkitcore/livestreamplaybackmanager/streamurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackManager.delegate","decl":"weak var delegate: (any LiveStreamPlaybackDelegate)?","doc":"Receives readiness and item-change callbacks.","md":"docs/ligplayerkitcore/livestreamplaybackmanager/delegate.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackManager.init()","decl":"override dynamic init()","doc":"Creates a manager with an empty player and starts observing its current item.","md":"docs/ligplayerkitcore/livestreamplaybackmanager/init().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackManager.stop()","decl":"func stop()","doc":"Stops observing item changes and removes the current item.","notes":["The item-change observer is not re-created, so after `stop()` the manager no longer reports item changes; create a new manager instead of reusing it. Pending retries are not cancelled."],"md":"docs/ligplayerkitcore/livestreamplaybackmanager/stop().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackManager.setAssetForPlayback(_:)","decl":"func setAssetForPlayback(_ streamUrl: LiveStreamPlaybackManager.streamUrl)","doc":"Loads `streamUrl` and replaces the player's item once the asset reports it is playable.","md":"docs/ligplayerkitcore/livestreamplaybackmanager/setassetforplayback(_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackManager.getTracks(asset:)","decl":"func getTracks(asset: AVURLAsset) async","doc":"Loads the video tracks of `asset` and stores them on the manager.","md":"docs/ligplayerkitcore/livestreamplaybackmanager/gettracks(asset:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackManager.adjustVolume(to:distance:)","decl":"func adjustVolume(to volume: Float, distance: Float)","doc":"Sets the player volume to `volume / distance`.","md":"docs/ligplayerkitcore/livestreamplaybackmanager/adjustvolume(to:distance:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiveStreamPlaybackManager.handlePlaybackEnded()","decl":"@objc func handlePlaybackEnded()","doc":"Handles end of playback: clears the asset and item and notifies the delegate of the item change.","md":"docs/ligplayerkitcore/livestreamplaybackmanager/handleplaybackended().md"},{"kind":"protocol","module":"LiGPlayerKitCore","name":"BluetoothManagerDelegate","decl":"protocol BluetoothManagerDelegate : NSObjectProtocol","doc":"Receives scan, connection and value events from ``BluetoothManager``.","md":"docs/ligplayerkitcore/bluetoothmanagerdelegate.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManagerDelegate.getBLEPeripherals(peripherals:)","decl":"func getBLEPeripherals(peripherals: [(String, Int)])","doc":"Called after each newly discovered named peripheral with the full list so far.","md":"docs/ligplayerkitcore/bluetoothmanagerdelegate/getbleperipherals(peripherals:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManagerDelegate.getBLEPeripheralValue(value:)","decl":"func getBLEPeripheralValue(value: String)","doc":"Called when a subscribed or read characteristic delivers a value.","md":"docs/ligplayerkitcore/bluetoothmanagerdelegate/getbleperipheralvalue(value:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManagerDelegate.getBLEPeripheralConnected(name:)","decl":"func getBLEPeripheralConnected(name: String)","doc":"Called when a connection is established, before services are discovered.","md":"docs/ligplayerkitcore/bluetoothmanagerdelegate/getbleperipheralconnected(name:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"BluetoothManager","decl":"@objc class BluetoothManager","doc":"A shared Core Bluetooth central that scans for named peripherals, connects to one, and subscribes to every characteristic it exposes.","notes":["The first access to ``shared`` creates a `CBCentralManager`, which can show the system Bluetooth permission prompt."],"md":"docs/ligplayerkitcore/bluetoothmanager.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"BluetoothManager.shared","decl":"static let shared: BluetoothManager","static":true,"doc":"The single instance.","md":"docs/ligplayerkitcore/bluetoothmanager/shared.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"BluetoothManager.central","decl":"var central: CBCentralManager?","doc":"The central manager, created at init on a global queue.","md":"docs/ligplayerkitcore/bluetoothmanager/central.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"BluetoothManager.peripheral","decl":"var peripheral: CBPeripheralManager?","doc":"Unused; never assigned.","md":"docs/ligplayerkitcore/bluetoothmanager/peripheral.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"BluetoothManager.connectedPeripheral","decl":"var connectedPeripheral: CBPeripheral?","doc":"The peripheral most recently passed to a connect call.","md":"docs/ligplayerkitcore/bluetoothmanager/connectedperipheral.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"BluetoothManager.rxtxCHaracteristic","decl":"var rxtxCHaracteristic: CBCharacteristic?","doc":"Unused; never assigned.","md":"docs/ligplayerkitcore/bluetoothmanager/rxtxcharacteristic.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"BluetoothManager.characteristics","decl":"var characteristics: [CBCharacteristic]?","doc":"Intended to hold the connected peripheral's characteristics.","notes":["Starts as `nil` and the SDK never assigns an array, so the optional-chained appends do nothing and this stays `nil` unless the host sets it."],"md":"docs/ligplayerkitcore/bluetoothmanager/characteristics.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"BluetoothManager.delegate","decl":"var delegate: (any BluetoothManagerDelegate)?","doc":"Receives scan, connection and value events.","notes":["Held strongly by the singleton, so the delegate stays alive until this property is set to `nil`."],"md":"docs/ligplayerkitcore/bluetoothmanager/delegate.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.startScan()","decl":"func startScan()","doc":"Scans for all peripherals, with no service filter.","md":"docs/ligplayerkitcore/bluetoothmanager/startscan().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.stopScan()","decl":"func stopScan()","doc":"Stops scanning.","md":"docs/ligplayerkitcore/bluetoothmanager/stopscan().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.connectPeripheral(peripheral:)","decl":"func connectPeripheral(peripheral: CBPeripheral)","doc":"Connects to `peripheral` and records it as ``connectedPeripheral``.","md":"docs/ligplayerkitcore/bluetoothmanager/connectperipheral(peripheral:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.connectPeripheral(name:)","decl":"func connectPeripheral(name: String)","doc":"Connects to the first discovered peripheral named `name` and stops scanning.","md":"docs/ligplayerkitcore/bluetoothmanager/connectperipheral(name:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.disconnectPeripheral(peripheral:)","decl":"func disconnectPeripheral(peripheral: CBPeripheral)","doc":"Cancels the connection to `peripheral`.","md":"docs/ligplayerkitcore/bluetoothmanager/disconnectperipheral(peripheral:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.centralManagerDidUpdateState(_:)","decl":"dynamic func centralManagerDidUpdateState(_ central: CBCentralManager)","doc":"Logs the new state and starts scanning when powered on.","md":"docs/ligplayerkitcore/bluetoothmanager/centralmanagerdidupdatestate(_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.centralManager(_:didDiscover:advertisementData:rssi:)","decl":"dynamic func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData: [String : Any], rssi RSSI: NSNumber)","doc":"Records a newly seen named peripheral (deduplicated by name) and reports the full list to the delegate.","md":"docs/ligplayerkitcore/bluetoothmanager/centralmanager(_:diddiscover:advertisementdata:rssi:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.centralManager(_:didConnect:)","decl":"dynamic func centralManager(_ central: CBCentralManager, didConnect peripheral: CBPeripheral)","doc":"Starts service discovery and reports the connection to the delegate.","md":"docs/ligplayerkitcore/bluetoothmanager/centralmanager(_:didconnect:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.centralManager(_:didFailToConnect:error:)","decl":"dynamic func centralManager(_ central: CBCentralManager, didFailToConnect peripheral: CBPeripheral, error: (any Error)?)","doc":"Logs the failure; the delegate is not told.","md":"docs/ligplayerkitcore/bluetoothmanager/centralmanager(_:didfailtoconnect:error:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.centralManager(_:didDisconnectPeripheral:error:)","decl":"dynamic func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error: (any Error)?)","doc":"Logs a disconnection error; the delegate is not told.","md":"docs/ligplayerkitcore/bluetoothmanager/centralmanager(_:diddisconnectperipheral:error:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.peripheral(_:didDiscoverServices:)","decl":"dynamic func peripheral(_ peripheral: CBPeripheral, didDiscoverServices error: (any Error)?)","doc":"Discovers every characteristic of every discovered service.","md":"docs/ligplayerkitcore/bluetoothmanager/peripheral(_:diddiscoverservices:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.peripheral(_:didDiscoverCharacteristicsFor:error:)","decl":"dynamic func peripheral(_ peripheral: CBPeripheral, didDiscoverCharacteristicsFor service: CBService, error: (any Error)?)","doc":"Reads and subscribes to every characteristic of `service`.","md":"docs/ligplayerkitcore/bluetoothmanager/peripheral(_:diddiscovercharacteristicsfor:error:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.peripheral(_:didUpdateNotificationStateFor:error:)","decl":"dynamic func peripheral(_ peripheral: CBPeripheral, didUpdateNotificationStateFor characteristic: CBCharacteristic, error: (any Error)?)","doc":"Logs a subscription error.","md":"docs/ligplayerkitcore/bluetoothmanager/peripheral(_:didupdatenotificationstatefor:error:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.peripheral(_:didUpdateValueFor:error:)","decl":"dynamic func peripheral(_ peripheral: CBPeripheral, didUpdateValueFor characteristic: CBCharacteristic, error: (any Error)?)","doc":"Forwards the characteristic's value to the delegate as an upper-case hex string.","md":"docs/ligplayerkitcore/bluetoothmanager/peripheral(_:didupdatevaluefor:error:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"BluetoothManager.peripheral(_:didWriteValueFor:error:)","decl":"dynamic func peripheral(_ peripheral: CBPeripheral, didWriteValueFor characteristic: CBCharacteristic, error: (any Error)?)","doc":"Logs a write error.","md":"docs/ligplayerkitcore/bluetoothmanager/peripheral(_:didwritevaluefor:error:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"LiGAPIRequest","decl":"class LiGAPIRequest","doc":"Builds requests to the LiG cloud API and a session that authenticates them.","md":"docs/ligplayerkitcore/ligapirequest.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAPIRequest.session","decl":"var session: URLSession { get }","doc":"A new `URLSession` configured for the LiG API.","notes":["When ``token`` is empty the header is still sent, as `Authorization: Bearer ` with no value."],"md":"docs/ligplayerkitcore/ligapirequest/session.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAPIRequest.serverUrlPrefix","decl":"static let serverUrlPrefix: String","static":true,"doc":"Base URL of the LiG content API (scenes, AR objects, light positions).","md":"docs/ligplayerkitcore/ligapirequest/serverurlprefix.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAPIRequest.memberServerUrlPrefix","decl":"static let memberServerUrlPrefix: String","static":true,"doc":"Base URL of the LiG member API (user profile, sign-up, games, logs).","md":"docs/ligplayerkitcore/ligapirequest/memberserverurlprefix.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAPIRequest.token","decl":"var token: String","doc":"The bearer token that ``session`` sends.","md":"docs/ligplayerkitcore/ligapirequest/token.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"LiGAPIRequest.init()","decl":"init()","doc":"Creates a request helper with an empty ``token``.","md":"docs/ligplayerkitcore/ligapirequest/init().md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method","decl":"enum Method","doc":"HTTP methods; the raw value is the method name.","md":"docs/ligplayerkitcore/ligapirequest/method.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/ligapirequest/method/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/ligapirequest/method/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/ligapirequest/method/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/ligapirequest/method/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/ligapirequest/method/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.GET","decl":"case GET","doc":"`GET`.","md":"docs/ligplayerkitcore/ligapirequest/method/get.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.POST","decl":"case POST","doc":"`POST`.","md":"docs/ligplayerkitcore/ligapirequest/method/post.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.PUT","decl":"case PUT","doc":"`PUT`.","md":"docs/ligplayerkitcore/ligapirequest/method/put.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.PATCH","decl":"case PATCH","doc":"`PATCH`.","md":"docs/ligplayerkitcore/ligapirequest/method/patch.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.DELETE","decl":"case DELETE","doc":"`DELETE`.","md":"docs/ligplayerkitcore/ligapirequest/method/delete.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.init(rawValue:)","decl":"init?(rawValue: String)","md":"docs/ligplayerkitcore/ligapirequest/method/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.RawValue","decl":"typealias RawValue = String"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAPIRequest.Method.rawValue","decl":"var rawValue: String { get }"},{"kind":"enum","module":"LiGPlayerKitCore","name":"LiGAPIRequest.HttpError","decl":"enum HttpError","doc":"Errors raised around LiG API calls.","md":"docs/ligplayerkitcore/ligapirequest/httperror.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAPIRequest.HttpError.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitcore/ligapirequest/httperror/localizeddescription.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"LiGAPIRequest.HttpError.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/ligapirequest/httperror/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAPIRequest.HttpError.InvalidURL","decl":"case InvalidURL","doc":"The request URL could not be built.","md":"docs/ligplayerkitcore/ligapirequest/httperror/invalidurl.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAPIRequest.HttpError.NotOk","decl":"case NotOk","doc":"The server answered with a status outside `200...299`.","md":"docs/ligplayerkitcore/ligapirequest/httperror/notok.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"LiGAPIRequest.HttpError.InvalidResponse","decl":"case InvalidResponse","doc":"The response body was missing or did not contain the expected data.","md":"docs/ligplayerkitcore/ligapirequest/httperror/invalidresponse.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"LiGAPIRequest.HttpError.==(_:_:)","decl":"static func == (a: LiGAPIRequest.HttpError, b: LiGAPIRequest.HttpError) -> Bool","static":true,"md":"docs/ligplayerkitcore/ligapirequest/httperror/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGAPIRequest.HttpError.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/ligapirequest/httperror/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAPIRequest.HttpError.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/ligapirequest/httperror/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGAPIRequest.build(url:method:additionalHeaders:data:memberServer:)","decl":"class func build(url: String, method: LiGAPIRequest.Method, additionalHeaders: Dictionary<String, String>? = nil, data: Data? = nil, memberServer: Bool = false) -> URLRequest?","static":true,"doc":"Builds a request for the API path `url`.","md":"docs/ligplayerkitcore/ligapirequest/build(url:method:additionalheaders:data:memberserver:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"LiGCoordinateSystem","decl":"class LiGCoordinateSystem","doc":"Converts a detected LiG light tag's pose into the transform that places a scene in AR world space.","md":"docs/ligplayerkitcore/ligcoordinatesystem.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGCoordinateSystem.getLightTagTransform(LightID:LightIDTransform:Result:)","decl":"static func getLightTagTransform(LightID lightId: Int, LightIDTransform lightIdTransform: matrix_float4x4, Result transform: @escaping (matrix_float4x4) -> Void)","static":true,"doc":"Callback form of ``buildTransformForCoordinateSystem(for:with:)``.","md":"docs/ligplayerkitcore/ligcoordinatesystem/getlighttagtransform(lightid:lightidtransform:result:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGCoordinateSystem.buildTransformForCoordinateSystem(for:with:)","decl":"static func buildTransformForCoordinateSystem(for ligTagID: Int, with phone2LigTagTransform: matrix_float4x4) async -> matrix_float4x4","static":true,"doc":"Returns the transform of the scene anchored to light tag `ligTagID`.","notes":["Failures are not reported. The fallback returns the input unchanged, so callers cannot tell a converted transform from a failed lookup."],"md":"docs/ligplayerkitcore/ligcoordinatesystem/buildtransformforcoordinatesystem(for:with:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"AllScene","decl":"struct AllScene","doc":"Top-level payload of the coordinate-system scene list API.","md":"docs/ligplayerkitcore/allscene.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AllScene.coordinate_system","decl":"var coordinate_system: CoordinateSystem?","doc":"The coordinate system (scene list, map and info URLs, navigation graph); `nil` when absent from the payload.","md":"docs/ligplayerkitcore/allscene/coordinate_system.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AllScene.init()","decl":"init()","doc":"Creates an empty payload with no coordinate system.","md":"docs/ligplayerkitcore/allscene/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AllScene.init(coordinate_system:)","decl":"init(coordinate_system: CoordinateSystem)","doc":"Creates a payload wrapping the given coordinate system.","md":"docs/ligplayerkitcore/allscene/init(coordinate_system:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AllScene.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/allscene/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AllScene.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/allscene/init(from:).md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"RecordingAudio","decl":"enum RecordingAudio","doc":"What a video recorded inside a scene hears, authored per scene as `recording_audio`.","md":"docs/ligplayerkitcore/recordingaudio.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"RecordingAudio.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/recordingaudio/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"RecordingAudio.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/recordingaudio/init(from:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"RecordingAudio.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/recordingaudio/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"RecordingAudio.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/recordingaudio/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"RecordingAudio.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/recordingaudio/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"RecordingAudio.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/recordingaudio/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"RecordingAudio.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/recordingaudio/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"RecordingAudio.arSceneAudio","decl":"case arSceneAudio","doc":"The scene's own audio only (`ar-scene-audio`).","md":"docs/ligplayerkitcore/recordingaudio/arsceneaudio.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"RecordingAudio.ambientVoice","decl":"case ambientVoice","doc":"The microphone only (`ambient-voice`).","md":"docs/ligplayerkitcore/recordingaudio/ambientvoice.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"RecordingAudio.both","decl":"case both","doc":"The scene's audio and the microphone, mixed (`both`).","md":"docs/ligplayerkitcore/recordingaudio/both.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"RecordingAudio.none","decl":"case none","doc":"Silent (`none`).","md":"docs/ligplayerkitcore/recordingaudio/none.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"RecordingAudio.capturesMicrophone","decl":"var capturesMicrophone: Bool { get }","doc":"Whether a recording in this mode captures the microphone (``ambientVoice`` or ``both``).","md":"docs/ligplayerkitcore/recordingaudio/capturesmicrophone.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"RecordingAudio.capturesSceneAudio","decl":"var capturesSceneAudio: Bool { get }","doc":"Whether a recording in this mode captures the scene's own audio (``arSceneAudio`` or ``both``).","md":"docs/ligplayerkitcore/recordingaudio/capturessceneaudio.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"RecordingAudio.init(from:)","decl":"init(from decoder: any Decoder) throws","doc":"Decodes a raw value; any value that is not one of the four known strings decodes as ``arSceneAudio`` instead of throwing.","md":"docs/ligplayerkitcore/recordingaudio/init(from:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"RecordingAudio.init(rawValue:)","decl":"init?(rawValue: String)","md":"docs/ligplayerkitcore/recordingaudio/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"RecordingAudio.AllCases","decl":"typealias AllCases = [RecordingAudio]"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"RecordingAudio.RawValue","decl":"typealias RawValue = String"},{"kind":"property","module":"LiGPlayerKitCore","name":"RecordingAudio.allCases","decl":"nonisolated static var allCases: [RecordingAudio] { get }","static":true},{"kind":"property","module":"LiGPlayerKitCore","name":"RecordingAudio.rawValue","decl":"var rawValue: String { get }"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ZipSceneEntry","decl":"struct ZipSceneEntry","doc":"One entry in a coordinate system's scene list: a scene that can be downloaded as a zip archive.","md":"docs/ligplayerkitcore/zipsceneentry.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZipSceneEntry.sceneID","decl":"var sceneID: Int?","doc":"Scene ID (`scene_id`).","md":"docs/ligplayerkitcore/zipsceneentry/sceneid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZipSceneEntry.name","decl":"var name: String?","doc":"Display name of the scene.","md":"docs/ligplayerkitcore/zipsceneentry/name.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZipSceneEntry.thumbnail","decl":"var thumbnail: String?","doc":"Thumbnail image URL string.","md":"docs/ligplayerkitcore/zipsceneentry/thumbnail.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZipSceneEntry.assetsUrl","decl":"var assetsUrl: String?","doc":"URL string of the scene's zip archive (`assets_url`).","md":"docs/ligplayerkitcore/zipsceneentry/assetsurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZipSceneEntry.isBTActivated","decl":"var isBTActivated: Bool?","doc":"Whether the scene integrates with Bluetooth (`is_integrated_with_bluetooth`).","md":"docs/ligplayerkitcore/zipsceneentry/isbtactivated.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZipSceneEntry.recordingAudio","decl":"var recordingAudio: RecordingAudio { get set }","doc":"What a recording made in this scene hears (`recording_audio`), readable when the scene is selected, before it loads.","md":"docs/ligplayerkitcore/zipsceneentry/recordingaudio.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ZipSceneEntry.init()","decl":"init()","doc":"Creates an entry with every field `nil`.","md":"docs/ligplayerkitcore/zipsceneentry/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ZipSceneEntry.init(sceneID:name:thumbnail:assetsUrl:isBTActivated:)","decl":"init(sceneID: Int?, name: String?, thumbnail: String?, assetsUrl: String?, isBTActivated: Bool?)","doc":"Creates an entry with the given values.","md":"docs/ligplayerkitcore/zipsceneentry/init(sceneid:name:thumbnail:assetsurl:isbtactivated:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZipSceneEntry.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/zipsceneentry/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ZipSceneEntry.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/zipsceneentry/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"SceneObject","decl":"struct SceneObject","doc":"A scene definition, decoded from the `scene.json` file inside a scene archive or from the scene API.","md":"docs/ligplayerkitcore/sceneobject.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.sceneID","decl":"var sceneID: Int?","doc":"Scene ID (`scene_id`).","md":"docs/ligplayerkitcore/sceneobject/sceneid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.name","decl":"var name: String?","doc":"Display name of the scene.","md":"docs/ligplayerkitcore/sceneobject/name.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.thumbnail","decl":"var thumbnail: String?","doc":"Thumbnail image URL string.","md":"docs/ligplayerkitcore/sceneobject/thumbnail.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.arObjects","decl":"var arObjects: [ArObject]?","doc":"AR objects placed in the scene (`ar_objects`); `nil` when absent.","md":"docs/ligplayerkitcore/sceneobject/arobjects.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.coordinateSystemsIDS","decl":"var coordinateSystemsIDS: [CoordinateSystemsID]?","doc":"Legacy per-coordinate-system light poses (`coordinate_systems_ids`).","md":"docs/ligplayerkitcore/sceneobject/coordinatesystemsids.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.activityID","decl":"var activityID: Int?","doc":"Activity ID the scene belongs to (`activity_id`).","md":"docs/ligplayerkitcore/sceneobject/activityid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.gameReset","decl":"var gameReset: Bool","doc":"Game-reset flag from the payload (`game_reset`); `false` when the initializer receives `nil`.","md":"docs/ligplayerkitcore/sceneobject/gamereset.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.actions","decl":"var actions: [String : [Action]]?","doc":"Scene-level named action lists, keyed by name.","md":"docs/ligplayerkitcore/sceneobject/actions.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.credentials","decl":"var credentials: [String : Credential?]?","doc":"Named credentials (`credentials`), keyed by credential name.","md":"docs/ligplayerkitcore/sceneobject/credentials.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.scEnabled","decl":"var scEnabled: Bool?","doc":"Whether the staging-controller (multiplayer) connection is enabled for this scene (`sc_enabled`).","md":"docs/ligplayerkitcore/sceneobject/scenabled.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.scRoomName","decl":"var scRoomName: String?","doc":"Staging-controller room name to join (`sc_room_name`).","md":"docs/ligplayerkitcore/sceneobject/scroomname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.scGameId","decl":"var scGameId: Int?","doc":"Staging-controller game ID (`sc_game_id`).","md":"docs/ligplayerkitcore/sceneobject/scgameid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneObject.recordingAudio","decl":"var recordingAudio: RecordingAudio { get set }","doc":"What a recording made in this scene hears (`recording_audio`).","md":"docs/ligplayerkitcore/sceneobject/recordingaudio.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"SceneObject.init()","decl":"init()","doc":"Creates an empty scene with every optional field `nil`.","md":"docs/ligplayerkitcore/sceneobject/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"SceneObject.init(sceneID:name:thumbnail:arObjects:activityID:gameReset:actions:credentials:scEnabled:scRoomName:scGameId:)","decl":"init(sceneID: Int?, name: String?, thumbnail: String?, arObjects: [ArObject]?, activityID: Int?, gameReset: Bool?, actions: [String : [Action]]?, credentials: [String : Credential?]?, scEnabled: Bool?, scRoomName: String?, scGameId: Int?)","doc":"Creates a scene from explicit values.","md":"docs/ligplayerkitcore/sceneobject/init(sceneid:name:thumbnail:arobjects:activityid:gamereset:actions:credentials:scenabled:scroomname:scgameid:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"SceneObject.checkTexture(dict:)","decl":"mutating func checkTexture(dict: [String : URL])","doc":"Rewrites object texture URLs to local files extracted from a scene archive.","notes":["The loop stops at the first object whose texture has no `file_path`, whose `file_path` is not a valid URL, or whose file is not in `dict` — it `return`s instead of continuing, so every later object keeps its remote URL. The texture variable is not reset per iteration: an object without a texture reuses the previous object's texture for the lookup (harmless, because that object has nothing to rewrite), and only an object without a texture before any textured object stops the loop."],"md":"docs/ligplayerkitcore/sceneobject/checktexture(dict:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"SceneObject.changeObjectTextUrl(index:textureUrl:)","decl":"mutating func changeObjectTextUrl(index: Int, textureUrl: URL)","doc":"Replaces the texture URL of the object at `index` in ``arObjects``.","md":"docs/ligplayerkitcore/sceneobject/changeobjecttexturl(index:textureurl:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"SceneObject.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/sceneobject/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"SceneObject.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/sceneobject/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"CoordinateSystem","decl":"struct CoordinateSystem","doc":"A LiG coordinate system: the scenes anchored to it plus optional map, info and indoor-navigation data.","md":"docs/ligplayerkitcore/coordinatesystem.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CoordinateSystem.scenes","decl":"var scenes: [ZipSceneEntry]?","doc":"Scenes available in this coordinate system.","md":"docs/ligplayerkitcore/coordinatesystem/scenes.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CoordinateSystem.mapUrl","decl":"var mapUrl: String?","doc":"Map URL string (`map_url`).","md":"docs/ligplayerkitcore/coordinatesystem/mapurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CoordinateSystem.infoUrl","decl":"var infoUrl: String?","doc":"Info page URL string (`info_url`).","md":"docs/ligplayerkitcore/coordinatesystem/infourl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CoordinateSystem.navigation","decl":"var navigation: Navigation?","doc":"Indoor navigation graph, if the coordinate system provides one.","md":"docs/ligplayerkitcore/coordinatesystem/navigation.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"CoordinateSystem.init()","decl":"init()","doc":"Creates an empty coordinate system.","md":"docs/ligplayerkitcore/coordinatesystem/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"CoordinateSystem.init(map:info:scenes:)","decl":"init(map: String?, info: String?, scenes: [ZipSceneEntry]?)","doc":"Creates a coordinate system with the given map, info and scene list.","md":"docs/ligplayerkitcore/coordinatesystem/init(map:info:scenes:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"CoordinateSystem.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/coordinatesystem/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"CoordinateSystem.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/coordinatesystem/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ArObject","decl":"struct ArObject","doc":"An AR object in a scene, as decoded from the scene payload.","md":"docs/ligplayerkitcore/arobject.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.id","decl":"var id: Int?","doc":"Object ID.","md":"docs/ligplayerkitcore/arobject/id.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.name","decl":"var name: String?","doc":"Object name.","md":"docs/ligplayerkitcore/arobject/name.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.location","decl":"var location: Location?","doc":"Position and rotation relative to the scene origin.","md":"docs/ligplayerkitcore/arobject/location.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.zoom","decl":"var zoom: Zoom?","doc":"Per-axis scale.","md":"docs/ligplayerkitcore/arobject/zoom.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.transparency","decl":"var transparency: Double?","doc":"Opacity, 0 (transparent) to 1 (opaque); `nil` means 1 (see ``opacity``).","md":"docs/ligplayerkitcore/arobject/transparency.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.model","decl":"var model: Model?","doc":"Model type, parameters and textures.","md":"docs/ligplayerkitcore/arobject/model.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.events","decl":"var events: [Event]?","doc":"Interaction events attached to the object.","md":"docs/ligplayerkitcore/arobject/events.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.sceneId","decl":"var sceneId: Int?","doc":"ID of the scene that owns the object (`scene_id`).","md":"docs/ligplayerkitcore/arobject/sceneid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.subEvents","decl":"var subEvents: [String : [Event]]?","doc":"Events for sub-objects (`sub_events`), keyed by `\"<objectId>_<sequence>\"`; used by polyhedron faces (see ``polygonChildren()``).","md":"docs/ligplayerkitcore/arobject/subevents.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.isChild","decl":"var isChild: Bool?","doc":"Whether this object is a child of an info sphere 2.0 (diversity polyhedron) (`is_child`).","md":"docs/ligplayerkitcore/arobject/ischild.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.childrenObjects","decl":"var childrenObjects: [ArObject]?","doc":"Child objects of an info sphere 2.0 (diversity polyhedron) (`children`).","md":"docs/ligplayerkitcore/arobject/childrenobjects.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ArObject.init()","decl":"init()","doc":"Creates an object with every field `nil`.","md":"docs/ligplayerkitcore/arobject/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ArObject.init(id:name:location:zoom:transparency:model:events:sceneId:subEvents:)","decl":"init(id: Int?, name: String?, location: Location?, zoom: Zoom?, transparency: Double?, model: Model?, events: [Event]?, sceneId: Int?, subEvents: [String : [Event]]?)","doc":"Creates an object from explicit values.","md":"docs/ligplayerkitcore/arobject/init(id:name:location:zoom:transparency:model:events:sceneid:subevents:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.clone()","decl":"func clone() -> ArObject","doc":"Returns a copy with cloned ``location``, ``zoom`` and ``model``.","notes":["``isChild`` and ``childrenObjects`` are not copied; the clone has them `nil`."],"md":"docs/ligplayerkitcore/arobject/clone().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.doubleSided()","decl":"func doubleSided() -> Bool","doc":"Whether both sides of the surface are rendered (`is_double_sided`); defaults to `true`.","md":"docs/ligplayerkitcore/arobject/doublesided().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.faceMe()","decl":"func faceMe() -> Bool","doc":"Whether the object rotates to face the camera (`face_me`); defaults to `false`.","md":"docs/ligplayerkitcore/arobject/faceme().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.occluded()","decl":"func occluded() -> Bool","doc":"Whether the object is an invisible occluder (`is_occlusion`); defaults to `false`.","md":"docs/ligplayerkitcore/arobject/occluded().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.hidden()","decl":"func hidden() -> Bool","doc":"Whether the object is hidden (`is_hidden`); defaults to `false`.","md":"docs/ligplayerkitcore/arobject/hidden().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.alwaysVisible()","decl":"func alwaysVisible() -> Bool","doc":"Whether the object ignores the visible-distance check (`is_ignore`); defaults to `false`.","md":"docs/ligplayerkitcore/arobject/alwaysvisible().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.streamPreviewUrl()","decl":"func streamPreviewUrl() -> String?","doc":"Preview image URL string for a video or live stream (`preview_url`), or `nil`.","md":"docs/ligplayerkitcore/arobject/streampreviewurl().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.streamUrl()","decl":"func streamUrl() -> String?","doc":"Live stream source URL string (`streaming_source_url`), or `nil`.","md":"docs/ligplayerkitcore/arobject/streamurl().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.textureUrl()","decl":"func textureUrl() -> String?","doc":"The ``Model/texture`` URL, percent-encoded with `.urlQueryAllowed`, or `nil`.","md":"docs/ligplayerkitcore/arobject/textureurl().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.height()","decl":"func height() -> CGFloat?","doc":"Configured height (`height`), or `nil`.","md":"docs/ligplayerkitcore/arobject/height().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.width()","decl":"func width() -> CGFloat?","doc":"Configured width (`width`), or `nil`.","md":"docs/ligplayerkitcore/arobject/width().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.aspectRatio()","decl":"func aspectRatio() -> Bool","doc":"Whether the image aspect ratio is locked (`is_size_scale_lock`); defaults to `false`.","md":"docs/ligplayerkitcore/arobject/aspectratio().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.multiplyRange()","decl":"func multiplyRange() -> CGFloat?","doc":"Random position range for multiplied (cloned) copies (`multiply_range`), or `nil`.","md":"docs/ligplayerkitcore/arobject/multiplyrange().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.multiplyNumber()","decl":"func multiplyNumber() -> Int?","doc":"Number of multiplied (cloned) copies (`multiply_number`), or `nil`.","md":"docs/ligplayerkitcore/arobject/multiplynumber().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.multiplyRadius()","decl":"func multiplyRadius() -> CGFloat?","doc":"Radius within which multiplied copies are placed (`multiply_radius`), or `nil`.","md":"docs/ligplayerkitcore/arobject/multiplyradius().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.multiplyIsZeroY()","decl":"func multiplyIsZeroY() -> Bool","doc":"Whether multiplied copies keep Y at 0 (`multiply_is_zero_y`); defaults to `false`.","md":"docs/ligplayerkitcore/arobject/multiplyiszeroy().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.autoPlay()","decl":"func autoPlay() -> Bool","doc":"Whether video starts playing automatically (`is_play`); defaults to `true`.","md":"docs/ligplayerkitcore/arobject/autoplay().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.hueAngle()","decl":"func hueAngle() -> Float?","doc":"Chroma-key hue centre in degrees (`hue_angle`); `nil` disables chroma keying.","md":"docs/ligplayerkitcore/arobject/hueangle().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.hueRange()","decl":"func hueRange() -> Float","doc":"Chroma-key hue range in degrees (`hue_range`); defaults to 20.","md":"docs/ligplayerkitcore/arobject/huerange().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.saturation()","decl":"func saturation() -> Float","doc":"Chroma-key saturation threshold (`saturation`); defaults to 0.5.","md":"docs/ligplayerkitcore/arobject/saturation().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.loopPlay()","decl":"func loopPlay() -> Bool","doc":"Whether video loops (`is_loop_play`); defaults to `false`.","md":"docs/ligplayerkitcore/arobject/loopplay().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.floorCount()","decl":"func floorCount() -> Int?","doc":"Number of floors (rows) of a polyhedron (`floor_count`), or `nil`.","md":"docs/ligplayerkitcore/arobject/floorcount().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.floorHeight()","decl":"func floorHeight() -> CGFloat?","doc":"Height of each polyhedron face (`floor_height`), or `nil`.","md":"docs/ligplayerkitcore/arobject/floorheight().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.floorGap()","decl":"func floorGap() -> CGFloat?","doc":"Vertical gap between polyhedron floors (`floor_gap`), or `nil`.","md":"docs/ligplayerkitcore/arobject/floorgap().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.faceCount()","decl":"func faceCount() -> Int?","doc":"Number of faces per polyhedron floor (`face_count`), or `nil`.","md":"docs/ligplayerkitcore/arobject/facecount().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.faceWidth()","decl":"func faceWidth() -> CGFloat?","doc":"Width of each polyhedron face (`face_width`), or `nil`.","md":"docs/ligplayerkitcore/arobject/facewidth().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.floorAngles()","decl":"func floorAngles() -> [CGFloat]?","doc":"Per-floor angles of a polyhedron (`floor_angles`), or `nil`.","md":"docs/ligplayerkitcore/arobject/floorangles().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.faceGapList()","decl":"func faceGapList() -> [CGFloat]?","doc":"Per-floor face gaps of a polyhedron (`face_gap_list`); when present it takes precedence over ``faceGap()``.","md":"docs/ligplayerkitcore/arobject/facegaplist().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.rotateSpeed()","decl":"func rotateSpeed() -> TimeInterval?","doc":"Duration in seconds of one full polyhedron revolution (`speed`), or `nil`.","md":"docs/ligplayerkitcore/arobject/rotatespeed().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.faceGap()","decl":"func faceGap() -> CGFloat?","doc":"Horizontal gap between polyhedron faces (`face_gap`), or `nil`.","md":"docs/ligplayerkitcore/arobject/facegap().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.particleBirthRate()","decl":"func particleBirthRate() -> CGFloat","doc":"Particle birth rate (`particle_birth_rate`); defaults to 100.","md":"docs/ligplayerkitcore/arobject/particlebirthrate().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.particleBirthRateVariation()","decl":"func particleBirthRateVariation() -> CGFloat","doc":"Particle birth-rate variation (`particle_birth_rate_variation`); defaults to 50.","md":"docs/ligplayerkitcore/arobject/particlebirthratevariation().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.particleLifeSpan()","decl":"func particleLifeSpan() -> CGFloat","doc":"Particle lifespan (`particle_life_span`); defaults to 10.","md":"docs/ligplayerkitcore/arobject/particlelifespan().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.particleLifeSpanVariation()","decl":"func particleLifeSpanVariation() -> CGFloat","doc":"Particle lifespan variation (`particle_life_span_variation`); defaults to 3.","md":"docs/ligplayerkitcore/arobject/particlelifespanvariation().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.particleVelocity()","decl":"func particleVelocity() -> CGFloat","doc":"Particle velocity (`particle_velocity`); defaults to 0.5.","md":"docs/ligplayerkitcore/arobject/particlevelocity().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.particleVelocityVariation()","decl":"func particleVelocityVariation() -> CGFloat","doc":"Particle velocity variation (`particle_velocity_variation`); defaults to 0.25.","md":"docs/ligplayerkitcore/arobject/particlevelocityvariation().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.bloomIntensity()","decl":"func bloomIntensity() -> CGFloat?","doc":"Bloom intensity (`bloom_intensity`), or `nil`.","md":"docs/ligplayerkitcore/arobject/bloomintensity().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.bloomRadius()","decl":"func bloomRadius() -> CGFloat","doc":"Bloom corner radius (`bloom_radius`); defaults to 0.","md":"docs/ligplayerkitcore/arobject/bloomradius().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.visibleDistance()","decl":"func visibleDistance() -> Float","doc":"Distance in metres beyond which the object is unloaded (`visible_distance`); defaults to 20.","md":"docs/ligplayerkitcore/arobject/visibledistance().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.radius()","decl":"func radius() -> CGFloat","doc":"Radius (`radius`); defaults to 0.5.","md":"docs/ligplayerkitcore/arobject/radius().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.fieldsName()","decl":"func fieldsName() -> String","doc":"The model field `name`, or an empty string.","md":"docs/ligplayerkitcore/arobject/fieldsname().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.polygonChildren()","decl":"func polygonChildren() -> [ArObject]","doc":"Builds the face objects of a model-type-13 polyhedron.","md":"docs/ligplayerkitcore/arobject/polygonchildren().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.diversityPolygonChildren()","decl":"func diversityPolygonChildren() -> [ArObject]","doc":"Returns the children of an info sphere 2.0 (diversity polyhedron).","md":"docs/ligplayerkitcore/arobject/diversitypolygonchildren().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.changeTextureUrl(textureUrl:)","decl":"mutating func changeTextureUrl(textureUrl: URL)","doc":"Replaces the texture URL with `textureUrl.absoluteString`.","md":"docs/ligplayerkitcore/arobject/changetextureurl(textureurl:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ArObject.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/arobject/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ArObject.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/arobject/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Location","decl":"struct Location","doc":"Position and rotation of an AR object.","md":"docs/ligplayerkitcore/location.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Location.x","decl":"var x: Double?","doc":"X position.","md":"docs/ligplayerkitcore/location/x.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Location.y","decl":"var y: Double?","doc":"Y position.","md":"docs/ligplayerkitcore/location/y.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Location.z","decl":"var z: Double?","doc":"Z position.","md":"docs/ligplayerkitcore/location/z.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Location.rotateX","decl":"var rotateX: Double?","doc":"Rotation about the X axis, in degrees (`rotate_x`).","md":"docs/ligplayerkitcore/location/rotatex.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Location.rotateY","decl":"var rotateY: Double?","doc":"Rotation about the Y axis, in degrees (`rotate_y`).","md":"docs/ligplayerkitcore/location/rotatey.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Location.rotateZ","decl":"var rotateZ: Double?","doc":"Rotation about the Z axis, in degrees (`rotate_z`).","md":"docs/ligplayerkitcore/location/rotatez.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Location.simdPosition","decl":"var simdPosition: simd_float3 { get }","doc":"Position as a SIMD vector (renderer-agnostic; the SceneKit module re-exports it as `SCNVector3`).","md":"docs/ligplayerkitcore/location/simdposition.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Location.simdAngle","decl":"var simdAngle: simd_float3 { get }","doc":"Rotation as a SIMD vector, in degrees as stored.","notes":["Unlike ``ArObject/simdEulerAngles``, this is not converted to radians."],"md":"docs/ligplayerkitcore/location/simdangle.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Location.init()","decl":"init()","doc":"Creates a location with every component `nil`.","md":"docs/ligplayerkitcore/location/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Location.init(x:y:z:rotateX:rotateY:rotateZ:)","decl":"init(x: Double?, y: Double?, z: Double?, rotateX: Double?, rotateY: Double?, rotateZ: Double?)","doc":"Creates a location from explicit position (metres) and rotation (degrees).","md":"docs/ligplayerkitcore/location/init(x:y:z:rotatex:rotatey:rotatez:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Location.clone()","decl":"func clone() -> Location","doc":"Returns a copy of the location.","md":"docs/ligplayerkitcore/location/clone().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Location.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/location/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Location.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/location/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Event","decl":"struct Event","doc":"An interaction event on an AR object: a trigger ID, its parameters, and the actions to run when it fires.","md":"docs/ligplayerkitcore/event.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Event.id","decl":"var id: Int?","doc":"Trigger type ID.","md":"docs/ligplayerkitcore/event/id.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Event.values","decl":"var values: [String : Any]?","doc":"Trigger parameters (arbitrary JSON).","md":"docs/ligplayerkitcore/event/values.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Event.actions","decl":"var actions: [Action]?","doc":"Actions run when the event fires.","md":"docs/ligplayerkitcore/event/actions.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Event.init()","decl":"init()","doc":"Creates an event with every field `nil`.","md":"docs/ligplayerkitcore/event/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Event.init(id:values:actions:)","decl":"init(id: Int?, values: [String : Any]?, actions: [Action]?)","doc":"Creates an event from explicit values.","md":"docs/ligplayerkitcore/event/init(id:values:actions:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Event.init(from:)","decl":"init(from decoder: any Decoder) throws","doc":"Decodes an event from JSON.","md":"docs/ligplayerkitcore/event/init(from:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Event.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","doc":"Encodes the event to JSON; `values` and `actions` are omitted when `nil`.","md":"docs/ligplayerkitcore/event/encode(to:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Action","decl":"struct Action","doc":"An action definition: an action type ID plus its parameters.","md":"docs/ligplayerkitcore/action.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Action.id","decl":"var id: Int?","doc":"Action type ID.","md":"docs/ligplayerkitcore/action/id.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Action.values","decl":"var values: [String : Any]?","doc":"Action parameters (arbitrary JSON); decoded into ``ActionValues`` by the renderers.","md":"docs/ligplayerkitcore/action/values.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Action.init()","decl":"init()","doc":"Creates an action with every field `nil`.","md":"docs/ligplayerkitcore/action/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Action.init(id:values:)","decl":"init(id: Int?, values: [String : Any]?)","doc":"Creates an action from explicit values.","md":"docs/ligplayerkitcore/action/init(id:values:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Action.init(from:)","decl":"init(from decoder: any Decoder) throws","doc":"Decodes an action from JSON.","md":"docs/ligplayerkitcore/action/init(from:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Action.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","doc":"Encodes the action to JSON; `values` is omitted when `nil`.","md":"docs/ligplayerkitcore/action/encode(to:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ActionValues","decl":"struct ActionValues","doc":"Typed view of an ``Action``'s `values` payload.","md":"docs/ligplayerkitcore/actionvalues.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.url","decl":"let url: String?","doc":"URL string: audio to play, page to open, or API endpoint to call.","md":"docs/ligplayerkitcore/actionvalues/url.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.time","decl":"let time: TimeInterval?","doc":"Duration in seconds of animated actions (move, curve move, opacity change).","md":"docs/ligplayerkitcore/actionvalues/time.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.translating","decl":"let translating: Double?","doc":"Translation amount.","md":"docs/ligplayerkitcore/actionvalues/translating.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.objectId","decl":"let objectId: Int?","doc":"Target object ID (`obj_id`) to redirect the action to.","md":"docs/ligplayerkitcore/actionvalues/objectid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.directionX","decl":"let directionX: CGFloat?","doc":"Direction or axis components (`direction_x`, `direction_y`, `direction_z`) for move and rotate actions.","md":"docs/ligplayerkitcore/actionvalues/directionx.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.directionY","decl":"let directionY: CGFloat?","doc":"Direction or axis components (`direction_x`, `direction_y`, `direction_z`) for move and rotate actions.","md":"docs/ligplayerkitcore/actionvalues/directiony.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.directionZ","decl":"let directionZ: CGFloat?","doc":"Direction or axis components (`direction_x`, `direction_y`, `direction_z`) for move and rotate actions.","md":"docs/ligplayerkitcore/actionvalues/directionz.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.group","decl":"let group: Int?","doc":"Group ordinal that orders actions within an event; renderers use a default group when `nil`.","md":"docs/ligplayerkitcore/actionvalues/group.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.animationSpeed","decl":"let animationSpeed: CGFloat?","doc":"Native model animation speed (`animation_speed`).","md":"docs/ligplayerkitcore/actionvalues/animationspeed.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.startFrame","decl":"let startFrame: CGFloat?","doc":"Start frame of a native model animation (`start_frame`).","md":"docs/ligplayerkitcore/actionvalues/startframe.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.endFrame","decl":"let endFrame: CGFloat?","doc":"End frame of a native model animation (`end_frame`).","md":"docs/ligplayerkitcore/actionvalues/endframe.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.fps","decl":"let fps: Double?","doc":"Frames per second used to convert animation frames to time.","md":"docs/ligplayerkitcore/actionvalues/fps.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.repeatCount","decl":"let repeatCount: CGFloat?","doc":"Repeat count (`repeat_count`).","md":"docs/ligplayerkitcore/actionvalues/repeatcount.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.scale","decl":"let scale: CGFloat?","doc":"Scale factor.","md":"docs/ligplayerkitcore/actionvalues/scale.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.transparency","decl":"let transparency: CGFloat?","doc":"Opacity value for opacity actions.","md":"docs/ligplayerkitcore/actionvalues/transparency.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.width","decl":"let width: CGFloat?","doc":"Width of a rectangular move path.","md":"docs/ligplayerkitcore/actionvalues/width.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.height","decl":"let height: CGFloat?","doc":"Height of a rectangular move path.","md":"docs/ligplayerkitcore/actionvalues/height.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.moveActionTime","decl":"let moveActionTime: TimeInterval?","doc":"Time in seconds for each straight segment of a rectangular move (`move_action_time`).","md":"docs/ligplayerkitcore/actionvalues/moveactiontime.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.rotateActionTime","decl":"let rotateActionTime: TimeInterval?","doc":"Time in seconds for each corner turn of a rectangular move (`rotate_action_time`).","md":"docs/ligplayerkitcore/actionvalues/rotateactiontime.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.clockwise","decl":"let clockwise: Bool?","doc":"Whether a curve or rectangular move runs clockwise; renderers default to `true`.","md":"docs/ligplayerkitcore/actionvalues/clockwise.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.radius","decl":"let radius: CGFloat?","doc":"Radius of a curve move.","md":"docs/ligplayerkitcore/actionvalues/radius.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.startAngle","decl":"let startAngle: CGFloat?","doc":"Start angle of a curve move, in degrees (`start_angle`).","md":"docs/ligplayerkitcore/actionvalues/startangle.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.endAngle","decl":"let endAngle: CGFloat?","doc":"End angle of a curve move, in degrees (`end_angle`).","md":"docs/ligplayerkitcore/actionvalues/endangle.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.faceTranslating","decl":"let faceTranslating: Double?","doc":"Distance factor for the move-to-face (move toward the camera) action (`face_translating`).","md":"docs/ligplayerkitcore/actionvalues/facetranslating.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.faceIsReturn","decl":"let faceIsReturn: Bool?","doc":"Whether the move-to-face action returns the object afterwards (`face_is_return`).","md":"docs/ligplayerkitcore/actionvalues/faceisreturn.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.faceWaitTime","decl":"let faceWaitTime: TimeInterval?","doc":"Wait time in seconds before the move-to-face action returns (`face_wait_time`).","md":"docs/ligplayerkitcore/actionvalues/facewaittime.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.faceRotateToMe","decl":"let faceRotateToMe: Bool?","doc":"Whether the object rotates toward the camera during move-to-face (`face_rotate_to_me`).","md":"docs/ligplayerkitcore/actionvalues/facerotatetome.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.delayTime","decl":"let delayTime: TimeInterval?","doc":"Delay in seconds before an animation action starts (`delay_time`).","md":"docs/ligplayerkitcore/actionvalues/delaytime.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.curveScale","decl":"let curveScale: CGFloat?","doc":"Curve scale for a curve move (`curve_scale`); RealityKit uses it as the segment count.","md":"docs/ligplayerkitcore/actionvalues/curvescale.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.impactFeedbackStyle","decl":"let impactFeedbackStyle: Int?","doc":"Haptic impact style for the vibrate action (`impact_feedback_style`).","md":"docs/ligplayerkitcore/actionvalues/impactfeedbackstyle.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.subID","decl":"let subID: Int?","doc":"Sub-object ID (`sub_obj_id`).","md":"docs/ligplayerkitcore/actionvalues/subid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.gameType","decl":"let gameType: Int?","doc":"Game type (`game_type`).","md":"docs/ligplayerkitcore/actionvalues/gametype.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.uiInteractName","decl":"let uiInteractName: String?","doc":"UI interaction name (JSON key `name`).","md":"docs/ligplayerkitcore/actionvalues/uiinteractname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.target","decl":"let target: Int?","doc":"Target object ID for aim and move-to actions.","md":"docs/ligplayerkitcore/actionvalues/target.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.offset","decl":"let offset: Float?","doc":"Offset for the move-to action.","md":"docs/ligplayerkitcore/actionvalues/offset.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.playCount","decl":"let playCount: Int?","doc":"Number of times the action plays (`play_count`); renderers default to 1.","md":"docs/ligplayerkitcore/actionvalues/playcount.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.duration","decl":"let duration: CGFloat?","doc":"Duration in seconds for the move-to action.","md":"docs/ligplayerkitcore/actionvalues/duration.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.sceneId","decl":"let sceneId: String?","doc":"Scene ID to switch to (`scene_id`), as a string.","md":"docs/ligplayerkitcore/actionvalues/sceneid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.repositionToCamera","decl":"let repositionToCamera: Bool?","doc":"Whether the switched-to scene is repositioned in front of the camera (`reposition_to_camera`).","md":"docs/ligplayerkitcore/actionvalues/repositiontocamera.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.promptId","decl":"let promptId: Int?","doc":"AI prompt ID for the call-AI action (`prompt_id`).","md":"docs/ligplayerkitcore/actionvalues/promptid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.recommendationId","decl":"let recommendationId: Int?","doc":"Recommendation object ID for the call-AI action (`recommendation_obj_id`).","md":"docs/ligplayerkitcore/actionvalues/recommendationid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.auth","decl":"let auth: Bool?","doc":"Whether the browser action opens the URL with authentication.","md":"docs/ligplayerkitcore/actionvalues/auth.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.requestMethod","decl":"let requestMethod: String?","doc":"HTTP method for the call-API action (JSON key `method`).","md":"docs/ligplayerkitcore/actionvalues/requestmethod.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ActionValues.requestPayload","decl":"let requestPayload: String?","doc":"JSON payload string for the call-API action (JSON key `payload`).","md":"docs/ligplayerkitcore/actionvalues/requestpayload.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ActionValues.init(url:time:translating:objectId:directionX:directionY:directionZ:group:animationSpeed:startFrame:endFrame:fps:repeatCount:scale:transparency:width:height:moveActionTime:rotateActionTime:clockwise:radius:startAngle:endAngle:faceTranslating:faceIsReturn:faceWaitTime:faceRotateToMe:delayTime:curveScale:impactFeedbackStyle:subID:gameType:uiInteractName:target:offset:playCount:duration:sceneId:repositionToCamera:promptId:recommendationId:auth:requestMethod:requestPayload:)","decl":"init(url: String?, time: TimeInterval?, translating: Double?, objectId: Int?, directionX: CGFloat?, directionY: CGFloat?, directionZ: CGFloat?, group: Int?, animationSpeed: CGFloat?, startFrame: CGFloat?, endFrame: CGFloat?, fps: Double?, repeatCount: CGFloat?, scale: CGFloat?, transparency: CGFloat?, width: CGFloat?, height: CGFloat?, moveActionTime: TimeInterval?, rotateActionTime: TimeInterval?, clockwise: Bool?, radius: CGFloat?, startAngle: CGFloat?, endAngle: CGFloat?, faceTranslating: Double?, faceIsReturn: Bool?, faceWaitTime: TimeInterval?, faceRotateToMe: Bool?, delayTime: TimeInterval?, curveScale: CGFloat?, impactFeedbackStyle: Int?, subID: Int?, gameType: Int?, uiInteractName: String?, target: Int?, offset: Float?, playCount: Int?, duration: CGFloat?, sceneId: String?, repositionToCamera: Bool?, promptId: Int?, recommendationId: Int?, auth: Bool?, requestMethod: String?, requestPayload: String?)","doc":"Creates an action-values payload from explicit values."},{"kind":"method","module":"LiGPlayerKitCore","name":"ActionValues.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/actionvalues/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ActionValues.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/actionvalues/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Model","decl":"struct Model","doc":"Model description of an AR object: its type, its parameters, and its textures.","md":"docs/ligplayerkitcore/model.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Model.type","decl":"var type: Int?","doc":"Model type ID.","md":"docs/ligplayerkitcore/model/type.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Model.fields","decl":"var fields: ModelFields?","doc":"Model parameters.","md":"docs/ligplayerkitcore/model/fields.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Model.texture","decl":"var texture: Texture?","doc":"Primary texture or asset.","md":"docs/ligplayerkitcore/model/texture.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Model.iosTexture","decl":"var iosTexture: Texture?","doc":"Texture or asset for 3D models on iOS (`ios_texture`).","md":"docs/ligplayerkitcore/model/iostexture.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Model.androidTexture","decl":"var androidTexture: Texture?","doc":"Texture or asset for GLB 3D models, used on Android (`android_texture`).","md":"docs/ligplayerkitcore/model/androidtexture.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Model.init()","decl":"init()","doc":"Creates a model with every field `nil`.","md":"docs/ligplayerkitcore/model/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Model.init(type:fields:texture:iosTexture:androidTexture:)","decl":"init(type: Int?, fields: ModelFields?, texture: Texture?, iosTexture: Texture?, androidTexture: Texture?)","doc":"Creates a model from explicit values.","md":"docs/ligplayerkitcore/model/init(type:fields:texture:iostexture:androidtexture:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Model.clone()","decl":"func clone() -> Model","doc":"Returns a copy of the model (fields and textures are value-copied in full).","md":"docs/ligplayerkitcore/model/clone().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Model.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/model/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Model.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/model/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ModelFields","decl":"struct ModelFields","doc":"Per-object parameters from the `fields` object of an AR object's model.","md":"docs/ligplayerkitcore/modelfields.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.width","decl":"var width: CGFloat?","doc":"Width.","md":"docs/ligplayerkitcore/modelfields/width.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.height","decl":"var height: CGFloat?","doc":"Height.","md":"docs/ligplayerkitcore/modelfields/height.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.radius","decl":"var radius: CGFloat?","doc":"Radius.","md":"docs/ligplayerkitcore/modelfields/radius.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.floorHeight","decl":"var floorHeight: CGFloat?","doc":"Height of each polyhedron face (`floor_height`).","md":"docs/ligplayerkitcore/modelfields/floorheight.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.floorGap","decl":"var floorGap: CGFloat?","doc":"Vertical gap between polyhedron floors (`floor_gap`).","md":"docs/ligplayerkitcore/modelfields/floorgap.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.faceGap","decl":"var faceGap: CGFloat?","doc":"Horizontal gap between polyhedron faces (`face_gap`).","md":"docs/ligplayerkitcore/modelfields/facegap.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.faceWidth","decl":"var faceWidth: CGFloat?","doc":"Width of each polyhedron face (`face_width`).","md":"docs/ligplayerkitcore/modelfields/facewidth.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.floorCount","decl":"var floorCount: Int?","doc":"Number of polyhedron floors (`floor_count`).","md":"docs/ligplayerkitcore/modelfields/floorcount.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.faceCount","decl":"var faceCount: Int?","doc":"Number of faces per polyhedron floor (`face_count`).","md":"docs/ligplayerkitcore/modelfields/facecount.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.rotateSpeed","decl":"var rotateSpeed: TimeInterval?","doc":"Duration in seconds of one full polyhedron revolution (JSON key `speed`).","md":"docs/ligplayerkitcore/modelfields/rotatespeed.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.hueAngle","decl":"var hueAngle: Float?","doc":"Chroma-key hue centre for video, in degrees (`hue_angle`).","md":"docs/ligplayerkitcore/modelfields/hueangle.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.hueRange","decl":"var hueRange: Float?","doc":"Chroma-key hue range for video, in degrees (`hue_range`).","md":"docs/ligplayerkitcore/modelfields/huerange.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.saturation","decl":"var saturation: Float?","doc":"Chroma-key saturation threshold for video.","md":"docs/ligplayerkitcore/modelfields/saturation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.faceMe","decl":"var faceMe: Bool?","doc":"Whether the object faces the user (`face_me`).","md":"docs/ligplayerkitcore/modelfields/faceme.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.lightIntensity","decl":"var lightIntensity: CGFloat?","doc":"Light intensity (`light_intensity`); the SceneKit light nodes default to 500.","md":"docs/ligplayerkitcore/modelfields/lightintensity.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.color","decl":"var color: [CGFloat]?","doc":"Light colour as `[red, green, blue]` in 0–255.","md":"docs/ligplayerkitcore/modelfields/color.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isIgnore","decl":"var isIgnore: Bool?","doc":"Whether the visible-distance check is ignored (`is_ignore`).","md":"docs/ligplayerkitcore/modelfields/isignore.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.visibleDistance","decl":"var visibleDistance: Float?","doc":"Visible distance in metres (`visible_distance`).","md":"docs/ligplayerkitcore/modelfields/visibledistance.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isPlay","decl":"var isPlay: Bool?","doc":"Whether video plays by default (`is_play`); `nil` means play.","md":"docs/ligplayerkitcore/modelfields/isplay.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isHidden","decl":"var isHidden: Bool?","doc":"Whether the object is hidden (`is_hidden`).","md":"docs/ligplayerkitcore/modelfields/ishidden.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.videoPlayDistance","decl":"var videoPlayDistance: Float?","doc":"Video playback distance (`video_play_distance`).","md":"docs/ligplayerkitcore/modelfields/videoplaydistance.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isLoopPlay","decl":"var isLoopPlay: Bool?","doc":"Whether video loops (`is_loop_play`).","md":"docs/ligplayerkitcore/modelfields/isloopplay.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.iconURL","decl":"var iconURL: String?","doc":"Shop sign icon URL string (`icon_url`).","md":"docs/ligplayerkitcore/modelfields/iconurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isDoubleSided","decl":"var isDoubleSided: Bool?","doc":"Whether the surface is double-sided (`is_double_sided`); `nil` means double-sided.","md":"docs/ligplayerkitcore/modelfields/isdoublesided.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.twName","decl":"var twName: String?","doc":"Shop sign name in Traditional Chinese (`tw_name`).","md":"docs/ligplayerkitcore/modelfields/twname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.enName","decl":"var enName: String?","doc":"Shop sign name in English (`en_name`).","md":"docs/ligplayerkitcore/modelfields/enname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.koName","decl":"var koName: String?","doc":"Shop sign name in Korean (`ko_name`).","md":"docs/ligplayerkitcore/modelfields/koname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.jaName","decl":"var jaName: String?","doc":"Shop sign name in Japanese (`ja_name`).","md":"docs/ligplayerkitcore/modelfields/janame.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.thName","decl":"var thName: String?","doc":"Shop sign name in Thai (`th_name`).","md":"docs/ligplayerkitcore/modelfields/thname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isSizeScaleLock","decl":"var isSizeScaleLock: Bool?","doc":"Whether the image aspect ratio is locked (`is_size_scale_lock`).","md":"docs/ligplayerkitcore/modelfields/issizescalelock.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.previewUrl","decl":"var previewUrl: String?","doc":"Video preview image URL string (`preview_url`).","md":"docs/ligplayerkitcore/modelfields/previewurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.animationSpeed","decl":"var animationSpeed: CGFloat?","doc":"Native 3D model animation speed (`animation_speed`).","md":"docs/ligplayerkitcore/modelfields/animationspeed.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.startFrame","decl":"var startFrame: CGFloat?","doc":"Native 3D model animation start frame (`start_frame`).","md":"docs/ligplayerkitcore/modelfields/startframe.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.endFrame","decl":"var endFrame: CGFloat?","doc":"Native 3D model animation end frame (`end_frame`).","md":"docs/ligplayerkitcore/modelfields/endframe.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.fps","decl":"var fps: Double?","doc":"Native 3D model animation frames per second.","md":"docs/ligplayerkitcore/modelfields/fps.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.multiplyNumber","decl":"var multiplyNumber: Int?","doc":"Number of multiplied (cloned) copies (`multiply_number`).","md":"docs/ligplayerkitcore/modelfields/multiplynumber.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.multiplyRadius","decl":"var multiplyRadius: CGFloat?","doc":"Radius within which multiplied copies are placed (`multiply_radius`).","md":"docs/ligplayerkitcore/modelfields/multiplyradius.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.multiplyRange","decl":"var multiplyRange: CGFloat?","doc":"Random position range for multiplied copies (`multiply_range`).","md":"docs/ligplayerkitcore/modelfields/multiplyrange.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isOcclusion","decl":"var isOcclusion: Bool?","doc":"Whether the object is an invisible occluder (`is_occlusion`).","md":"docs/ligplayerkitcore/modelfields/isocclusion.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.multiplyIsZeroY","decl":"var multiplyIsZeroY: Bool?","doc":"Whether multiplied copies keep Y at 0 (`multiply_is_zero_y`).","md":"docs/ligplayerkitcore/modelfields/multiplyiszeroy.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.floorAngles","decl":"var floorAngles: [CGFloat]?","doc":"Per-floor polyhedron angles (`floor_angles`).","md":"docs/ligplayerkitcore/modelfields/floorangles.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.faceGapList","decl":"var faceGapList: [CGFloat]?","doc":"Per-floor polyhedron face gaps (`face_gap_list`).","md":"docs/ligplayerkitcore/modelfields/facegaplist.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.particleBirthRate","decl":"var particleBirthRate: CGFloat?","doc":"Particle birth rate (`particle_birth_rate`).","md":"docs/ligplayerkitcore/modelfields/particlebirthrate.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.particleBirthRateVariation","decl":"var particleBirthRateVariation: CGFloat?","doc":"Particle birth-rate variation (`particle_birth_rate_variation`).","md":"docs/ligplayerkitcore/modelfields/particlebirthratevariation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.particleLifeSpan","decl":"var particleLifeSpan: CGFloat?","doc":"Particle lifespan (`particle_life_span`).","md":"docs/ligplayerkitcore/modelfields/particlelifespan.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.particleLifeSpanVariation","decl":"var particleLifeSpanVariation: CGFloat?","doc":"Particle lifespan variation (`particle_life_span_variation`).","md":"docs/ligplayerkitcore/modelfields/particlelifespanvariation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.particleVelocity","decl":"var particleVelocity: CGFloat?","doc":"Particle velocity (`particle_velocity`).","md":"docs/ligplayerkitcore/modelfields/particlevelocity.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.particleVelocityVariation","decl":"var particleVelocityVariation: CGFloat?","doc":"Particle velocity variation (`particle_velocity_variation`).","md":"docs/ligplayerkitcore/modelfields/particlevelocityvariation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.bloomIntensity","decl":"var bloomIntensity: CGFloat?","doc":"Bloom intensity (`bloom_intensity`).","md":"docs/ligplayerkitcore/modelfields/bloomintensity.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.bloomRadius","decl":"var bloomRadius: CGFloat?","doc":"Bloom corner radius (`bloom_radius`).","md":"docs/ligplayerkitcore/modelfields/bloomradius.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.dashboardResourceUrl","decl":"var dashboardResourceUrl: String?","doc":"Dashboard API URL string (JSON key `resource_url`).","md":"docs/ligplayerkitcore/modelfields/dashboardresourceurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.dashboardRefreshInterval","decl":"var dashboardRefreshInterval: Double?","doc":"Dashboard refresh interval in seconds (JSON key `interval`).","md":"docs/ligplayerkitcore/modelfields/dashboardrefreshinterval.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.dashboardDirection","decl":"var dashboardDirection: DashboardDirection?","doc":"Side on which the dashboard is shown (JSON key `direction`).","md":"docs/ligplayerkitcore/modelfields/dashboarddirection.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.dashboardFarmlandID","decl":"var dashboardFarmlandID: String?","doc":"Farmland ID sent with dashboard requests (`farmland_id`).","md":"docs/ligplayerkitcore/modelfields/dashboardfarmlandid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.cred","decl":"var cred: String?","doc":"Credential name for dashboard requests; the dashboard does not post while this is `nil`.","md":"docs/ligplayerkitcore/modelfields/cred.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.name","decl":"var name: String?","doc":"Name.","md":"docs/ligplayerkitcore/modelfields/name.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.backgroundImageUrl","decl":"var backgroundImageUrl: String?","doc":"Q&A node background image URL string (`background_image_url`).","md":"docs/ligplayerkitcore/modelfields/backgroundimageurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.entry","decl":"var entry: String?","doc":"Key of the first question in ``questions`` for a Q&A node.","md":"docs/ligplayerkitcore/modelfields/entry.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.questions","decl":"var questions: [String : Question]?","doc":"Q&A node questions, keyed by question key.","md":"docs/ligplayerkitcore/modelfields/questions.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.streamPreviewUrl","decl":"var streamPreviewUrl: String?","doc":"Live stream preview image URL string.","notes":["This property has no coding key, so it is never decoded and stays `nil`; ``ArObject/streamPreviewUrl()`` reads ``previewUrl`` instead."],"md":"docs/ligplayerkitcore/modelfields/streampreviewurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.liveStreamSource","decl":"var liveStreamSource: String?","doc":"Live stream source URL string (`streaming_source_url`).","md":"docs/ligplayerkitcore/modelfields/livestreamsource.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.thumbnail","decl":"var thumbnail: String?","doc":"Live stream controller thumbnail URL string.","md":"docs/ligplayerkitcore/modelfields/thumbnail.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isAllowPinch","decl":"var isAllowPinch: Bool?","doc":"Whether pinch-to-scale is allowed (`is_allow_pinch`).","md":"docs/ligplayerkitcore/modelfields/isallowpinch.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isAllowRotate","decl":"var isAllowRotate: Bool?","doc":"Whether rotate gesture is allowed (`is_allow_rotate`).","md":"docs/ligplayerkitcore/modelfields/isallowrotate.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.isMetallic","decl":"var isMetallic: Bool?","doc":"Whether the model is rendered metallic (`is_metal`).","md":"docs/ligplayerkitcore/modelfields/ismetallic.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ModelFields.type","decl":"var type: Int?","doc":"Model type.","md":"docs/ligplayerkitcore/modelfields/type.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ModelFields.init()","decl":"init()","doc":"Creates fields with every value at its default (mostly `nil`).","md":"docs/ligplayerkitcore/modelfields/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ModelFields.init(width:height:radius:floorHeight:floorGap:faceWidth:faceGap:floorCount:faceCount:rotateSpeed:hueAngle:hueRange:saturation:faceMe:lightIntensity:color:isIgnore:visibleDistance:isPlay:isHidden:videoPlayDistance:isLoopPlay:iconURL:isDoubleSided:twName:enName:koName:jaName:thName:isSizeScaleLock:previewUrl:animationSpeed:startFrame:endFrame:fps:multiplyNumber:multiplyRadius:multiplyRange:isOcclusion:floorAngles:faceGapList:particleBirthRate:particleBirthRateVariation:particleLifeSpan:particleLifeSpanVariation:particleVelocity:particleVelocityVariation:bloomIntensity:bloomRadius:dashboardResourceUrl:dashboardRefreshInterval:dashboardDirection:dashboardFarmlandID:name:cred:liveStreamSource:thumbnail:isAllowPinch:isAllowRotate:isMetallic:backgroundImageUrl:entry:questions:type:)","decl":"init(width: CGFloat?, height: CGFloat?, radius: CGFloat?, floorHeight: CGFloat?, floorGap: CGFloat?, faceWidth: CGFloat?, faceGap: CGFloat?, floorCount: Int?, faceCount: Int?, rotateSpeed: TimeInterval?, hueAngle: Float?, hueRange: Float?, saturation: Float?, faceMe: Bool?, lightIntensity: CGFloat?, color: [CGFloat]?, isIgnore: Bool?, visibleDistance: Float?, isPlay: Bool?, isHidden: Bool?, videoPlayDistance: Float?, isLoopPlay: Bool?, iconURL: String?, isDoubleSided: Bool?, twName: String?, enName: String?, koName: String?, jaName: String?, thName: String?, isSizeScaleLock: Bool?, previewUrl: String?, animationSpeed: CGFloat?, startFrame: CGFloat?, endFrame: CGFloat?, fps: Double?, multiplyNumber: Int?, multiplyRadius: CGFloat?, multiplyRange: CGFloat?, isOcclusion: Bool?, floorAngles: [CGFloat]?, faceGapList: [CGFloat]?, particleBirthRate: CGFloat?, particleBirthRateVariation: CGFloat?, particleLifeSpan: CGFloat?, particleLifeSpanVariation: CGFloat?, particleVelocity: CGFloat?, particleVelocityVariation: CGFloat?, bloomIntensity: CGFloat?, bloomRadius: CGFloat?, dashboardResourceUrl: String?, dashboardRefreshInterval: Double?, dashboardDirection: Int?, dashboardFarmlandID: String?, name: String?, cred: String?, liveStreamSource: String?, thumbnail: String?, isAllowPinch: Bool?, isAllowRotate: Bool?, isMetallic: Bool?, backgroundImageUrl: String?, entry: String?, questions: [String : Question]?, type: Int?)","doc":"Creates fields from explicit values."},{"kind":"method","module":"LiGPlayerKitCore","name":"ModelFields.clone()","decl":"func clone() -> ModelFields","doc":"Returns a partial copy holding only ``width`` and ``height``.","notes":["Every other field is dropped. It was meant for plane-node cloning; nothing in the SDK calls it (``Model/clone()`` copies ``Model/fields`` in full)."],"md":"docs/ligplayerkitcore/modelfields/clone().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ModelFields.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/modelfields/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ModelFields.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/modelfields/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Texture","decl":"struct Texture","doc":"A texture or asset reference of a model.","md":"docs/ligplayerkitcore/texture.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Texture.id","decl":"var id: String?","doc":"Asset ID.","md":"docs/ligplayerkitcore/texture/id.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Texture.url","decl":"var url: String?","doc":"Texture URL string.","md":"docs/ligplayerkitcore/texture/url.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Texture.photos","decl":"var photos: [String]?","doc":"Image URL strings for polyhedron faces, one per face.","md":"docs/ligplayerkitcore/texture/photos.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Texture.filePath","decl":"var filePath: String?","doc":"Path of the asset inside the scene archive (`file_path`); its last path component is matched by ``SceneObject/checkTexture(dict:)``.","md":"docs/ligplayerkitcore/texture/filepath.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Texture.init()","decl":"init()","doc":"Creates a texture with every field `nil`.","md":"docs/ligplayerkitcore/texture/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Texture.init(id:url:photos:)","decl":"init(id: String?, url: String?, photos: [String]?)","doc":"Creates a texture from explicit values.","md":"docs/ligplayerkitcore/texture/init(id:url:photos:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Texture.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/texture/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Texture.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/texture/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Zoom","decl":"struct Zoom","doc":"Per-axis scale of an AR object.","md":"docs/ligplayerkitcore/zoom.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Zoom.x","decl":"var x: Double?","doc":"X scale.","md":"docs/ligplayerkitcore/zoom/x.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Zoom.y","decl":"var y: Double?","doc":"Y scale.","md":"docs/ligplayerkitcore/zoom/y.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Zoom.z","decl":"var z: Double?","doc":"Z scale.","md":"docs/ligplayerkitcore/zoom/z.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Zoom.init()","decl":"init()","doc":"Creates a zoom with every component `nil`.","md":"docs/ligplayerkitcore/zoom/init().md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Zoom.init(x:y:z:)","decl":"init(x: Double?, y: Double?, z: Double?)","doc":"Creates a zoom from explicit values.","md":"docs/ligplayerkitcore/zoom/init(x:y:z:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Zoom.clone()","decl":"func clone() -> Zoom","doc":"Returns a copy of the zoom.","md":"docs/ligplayerkitcore/zoom/clone().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Zoom.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/zoom/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Zoom.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/zoom/init(from:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.opacity","decl":"var opacity: CGFloat { get }","doc":"Opacity as `CGFloat`; ``transparency`` or 1 when `nil`.","md":"docs/ligplayerkitcore/arobject/opacity.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.simdPosition","decl":"var simdPosition: simd_float3 { get }","doc":"Position as a SIMD vector in metres (renderer-agnostic; the SceneKit module re-exports it as `SCNVector3`).","md":"docs/ligplayerkitcore/arobject/simdposition.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.simdEulerAngles","decl":"var simdEulerAngles: simd_float3 { get }","doc":"Rotation as SIMD Euler angles in radians, converted from ``Location``'s degrees.","md":"docs/ligplayerkitcore/arobject/simdeulerangles.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.simdScale","decl":"var simdScale: simd_float3 { get }","doc":"Scale as a SIMD vector.","md":"docs/ligplayerkitcore/arobject/simdscale.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.objectName","decl":"var objectName: String { get }","doc":"Node name: the object ID as a string, or `\"0\"` when ``id`` is `nil`.","md":"docs/ligplayerkitcore/arobject/objectname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.lightColor","decl":"var lightColor: UIColor { get }","doc":"Light colour from ``ModelFields/color`` (0–255 RGB), alpha 1; a missing colour, or one with fewer than three elements, gives black.","md":"docs/ligplayerkitcore/arobject/lightcolor.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.shopName","decl":"var shopName: String? { get }","doc":"Shop name in the app's preferred localization (`Bundle.main.preferredLocalizations.first`); English for unsupported languages.","md":"docs/ligplayerkitcore/arobject/shopname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ArObject.shopFileName","decl":"var shopFileName: String? { get }","doc":"Shop file name: ``shopName`` followed by the language code (`zh-Hant`, `en`, `ja`, `ko` or `th`).","md":"docs/ligplayerkitcore/arobject/shopfilename.md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"CoordinateSystemsID","decl":"struct CoordinateSystemsID","doc":"Legacy light poses for one coordinate system (`coordinate_systems_ids` entry).","md":"docs/ligplayerkitcore/coordinatesystemsid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CoordinateSystemsID.coordinateSystemID","decl":"let coordinateSystemID: Int","doc":"Coordinate system ID.","md":"docs/ligplayerkitcore/coordinatesystemsid/coordinatesystemid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"CoordinateSystemsID.lightPoses","decl":"let lightPoses: [LightPose]","doc":"Light poses in this coordinate system.","md":"docs/ligplayerkitcore/coordinatesystemsid/lightposes.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"CoordinateSystemsID.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/coordinatesystemsid/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"CoordinateSystemsID.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/coordinatesystemsid/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"LightPose","decl":"struct LightPose","doc":"Legacy pose of one light within a coordinate system.","md":"docs/ligplayerkitcore/lightpose.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightPose.lightID","decl":"let lightID: Int","doc":"Light ID.","md":"docs/ligplayerkitcore/lightpose/lightid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightPose.translation","decl":"let translation: [Int]","doc":"Translation, rotation and transform components as integers.","md":"docs/ligplayerkitcore/lightpose/translation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightPose.rotation","decl":"let rotation: [Int]","doc":"Translation, rotation and transform components as integers.","md":"docs/ligplayerkitcore/lightpose/rotation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightPose.transform","decl":"let transform: [Int]","doc":"Translation, rotation and transform components as integers.","md":"docs/ligplayerkitcore/lightpose/transform.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LightPose.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/lightpose/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"LightPose.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/lightpose/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"RegisterUserResponse","decl":"struct RegisterUserResponse","doc":"Response of the user registration API.","md":"docs/ligplayerkitcore/registeruserresponse.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"RegisterUserResponse.status","decl":"let status: String","doc":"Status string.","md":"docs/ligplayerkitcore/registeruserresponse/status.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"RegisterUserResponse.token","decl":"let token: String","doc":"User token.","md":"docs/ligplayerkitcore/registeruserresponse/token.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"RegisterUserResponse.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/registeruserresponse/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"RegisterUserResponse.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/registeruserresponse/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"UserProfileResponse","decl":"struct UserProfileResponse","doc":"Response of the user profile API.","md":"docs/ligplayerkitcore/userprofileresponse.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"UserProfileResponse.user","decl":"let user: LightenARUser","doc":"The user's profile.","md":"docs/ligplayerkitcore/userprofileresponse/user.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"UserProfileResponse.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/userprofileresponse/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"UserProfileResponse.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/userprofileresponse/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"LightenARUser","decl":"struct LightenARUser","doc":"A user profile.","md":"docs/ligplayerkitcore/lightenaruser.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightenARUser.email","decl":"let email: String?","doc":"Email address.","md":"docs/ligplayerkitcore/lightenaruser/email.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightenARUser.name","decl":"let name: String?","doc":"Display name.","md":"docs/ligplayerkitcore/lightenaruser/name.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightenARUser.birthday","decl":"let birthday: String?","doc":"Birthday, as returned by the server.","md":"docs/ligplayerkitcore/lightenaruser/birthday.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightenARUser.profilePicture","decl":"let profilePicture: Int?","doc":"Profile picture ID (`profile_picture`).","md":"docs/ligplayerkitcore/lightenaruser/profilepicture.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightenARUser.coins","decl":"let coins: Int?","doc":"Coin balance.","md":"docs/ligplayerkitcore/lightenaruser/coins.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LightenARUser.vouchers","decl":"let vouchers: [Voucher]?","doc":"Vouchers owned by the user.","md":"docs/ligplayerkitcore/lightenaruser/vouchers.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LightenARUser.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/lightenaruser/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"LightenARUser.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/lightenaruser/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Voucher","decl":"struct Voucher","doc":"A voucher owned by a user.","md":"docs/ligplayerkitcore/voucher.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Voucher.id","decl":"let id: Int?","doc":"Voucher ID.","md":"docs/ligplayerkitcore/voucher/id.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Voucher.exchangeEndTime","decl":"let exchangeEndTime: String?","doc":"End of the exchange period (`exchange_end_time`), as returned by the server.","md":"docs/ligplayerkitcore/voucher/exchangeendtime.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Voucher.isUsed","decl":"let isUsed: Bool","doc":"Whether the voucher has been used (`is_used`); `false` when absent.","md":"docs/ligplayerkitcore/voucher/isused.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Voucher.voucherTypeID","decl":"let voucherTypeID: Int?","doc":"Voucher type ID (`voucher_type_id`).","md":"docs/ligplayerkitcore/voucher/vouchertypeid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Voucher.createdAt","decl":"let createdAt: String?","doc":"Creation time (`created_at`), as returned by the server.","md":"docs/ligplayerkitcore/voucher/createdat.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Voucher.updatedAt","decl":"let updatedAt: String?","doc":"Update time (`updated_at`), as returned by the server.","md":"docs/ligplayerkitcore/voucher/updatedat.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Voucher.deviceID","decl":"let deviceID: String?","doc":"Device ID (`device_id`).","md":"docs/ligplayerkitcore/voucher/deviceid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Voucher.userCodeName","decl":"let userCodeName: String?","doc":"User code name (`user_code_name`).","md":"docs/ligplayerkitcore/voucher/usercodename.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Voucher.serial","decl":"let serial: String?","doc":"Serial number.","md":"docs/ligplayerkitcore/voucher/serial.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Voucher.init(from:)","decl":"init(from decoder: any Decoder) throws","doc":"Decodes a voucher; a missing or non-boolean, non-integer `is_used` decodes as `false`.","md":"docs/ligplayerkitcore/voucher/init(from:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Voucher.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/voucher/encode(to:).md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"GameType","decl":"enum GameType","doc":"Game type reported in a ``GameResponse``; renderers map an unknown or missing `game_type` to ``error``.","md":"docs/ligplayerkitcore/gametype.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameType.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/gametype/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameType.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/gametype/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"GameType.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/gametype/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameType.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/gametype/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameType.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/gametype/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameType.collectGame","decl":"case collectGame","doc":"Collect game.","md":"docs/ligplayerkitcore/gametype/collectgame.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameType.groupCollectGame","decl":"case groupCollectGame","doc":"Group collect game.","md":"docs/ligplayerkitcore/gametype/groupcollectgame.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameType.coinGame","decl":"case coinGame","doc":"Coin game.","md":"docs/ligplayerkitcore/gametype/coingame.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameType.voucherGame","decl":"case voucherGame","doc":"Voucher game.","md":"docs/ligplayerkitcore/gametype/vouchergame.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameType.QAGame","decl":"case QAGame","doc":"Q&A game.","md":"docs/ligplayerkitcore/gametype/qagame.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameType.error","decl":"case error","doc":"Unknown or missing game type.","md":"docs/ligplayerkitcore/gametype/error.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameType.init(rawValue:)","decl":"init?(rawValue: Int)","md":"docs/ligplayerkitcore/gametype/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"GameType.RawValue","decl":"typealias RawValue = Int"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameType.rawValue","decl":"var rawValue: Int { get }"},{"kind":"struct","module":"LiGPlayerKitCore","name":"GameResponse","decl":"struct GameResponse","doc":"Response of the game API, forwarded to the host by the renderers' game-action delegate.","md":"docs/ligplayerkitcore/gameresponse.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameResponse.gameType","decl":"let gameType: Int?","doc":"Game type raw value (`game_type`); see ``GameType``.","md":"docs/ligplayerkitcore/gameresponse/gametype.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameResponse.status","decl":"let status: GameResponseStatus?","doc":"Result status.","md":"docs/ligplayerkitcore/gameresponse/status.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameResponse.gameId","decl":"let gameId: Int?","doc":"Game ID (`game_id`).","md":"docs/ligplayerkitcore/gameresponse/gameid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameResponse.gameName","decl":"let gameName: String?","doc":"Game name (`game_name`).","md":"docs/ligplayerkitcore/gameresponse/gamename.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameResponse.data","decl":"let data: GameData?","doc":"Game progress and reward data.","md":"docs/ligplayerkitcore/gameresponse/data.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameResponse.action","decl":"let action: GameActionType?","doc":"Action the host should take.","md":"docs/ligplayerkitcore/gameresponse/action.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameResponse.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/gameresponse/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameResponse.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/gameresponse/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"GameData","decl":"struct GameData","doc":"Game progress and reward data in a ``GameResponse``.","md":"docs/ligplayerkitcore/gamedata.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameData.count","decl":"let count: Int?","doc":"Count.","md":"docs/ligplayerkitcore/gamedata/count.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameData.total","decl":"let total: Int?","doc":"Total required.","md":"docs/ligplayerkitcore/gamedata/total.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameData.collected","decl":"let collected: Int?","doc":"Number collected.","md":"docs/ligplayerkitcore/gamedata/collected.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameData.coin_quantity","decl":"let coin_quantity: Int?","doc":"Coin quantity.","md":"docs/ligplayerkitcore/gamedata/coin_quantity.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameData.code","decl":"let code: GameDataConditionCode?","doc":"Condition code explaining why an exchange failed.","md":"docs/ligplayerkitcore/gamedata/code.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameData.actionName","decl":"let actionName: String?","doc":"Action name (`action_name`).","md":"docs/ligplayerkitcore/gamedata/actionname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameData.voucherTypeId","decl":"let voucherTypeId: Int?","doc":"Voucher type ID (`voucher_type_id`).","md":"docs/ligplayerkitcore/gamedata/vouchertypeid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameData.poolId","decl":"let poolId: Int?","doc":"Pool ID (`pool_id`).","md":"docs/ligplayerkitcore/gamedata/poolid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameData.nextDestination","decl":"let nextDestination: String?","doc":"Next destination (`next_destination`).","md":"docs/ligplayerkitcore/gamedata/nextdestination.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameData.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/gamedata/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameData.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/gamedata/init(from:).md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"GameDataConditionCode","decl":"enum GameDataConditionCode","doc":"Condition code in ``GameData``, decoded from the server's integer code.","notes":["The Swift `rawValue` (0–6) differs from the wire code; use encoding/decoding, not `rawValue`, to map to the server value."],"md":"docs/ligplayerkitcore/gamedataconditioncode.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameDataConditionCode.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/gamedataconditioncode/init(from:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameDataConditionCode.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/gamedataconditioncode/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameDataConditionCode.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/gamedataconditioncode/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"GameDataConditionCode.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/gamedataconditioncode/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameDataConditionCode.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/gamedataconditioncode/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameDataConditionCode.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/gamedataconditioncode/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameDataConditionCode.notAvailable","decl":"case notAvailable","doc":"Not available (wire code 1).","md":"docs/ligplayerkitcore/gamedataconditioncode/notavailable.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameDataConditionCode.exchangedAlready","decl":"case exchangedAlready","doc":"Already exchanged (wire code 2).","md":"docs/ligplayerkitcore/gamedataconditioncode/exchangedalready.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameDataConditionCode.InvalidVoucherID","decl":"case InvalidVoucherID","doc":"Invalid voucher ID (wire code 13).","md":"docs/ligplayerkitcore/gamedataconditioncode/invalidvoucherid.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameDataConditionCode.NotInRuleConfig","decl":"case NotInRuleConfig","doc":"Not in the rule configuration (wire code 12).","md":"docs/ligplayerkitcore/gamedataconditioncode/notinruleconfig.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameDataConditionCode.onePerDay","decl":"case onePerDay","doc":"Limited to one per day (wire code 4).","md":"docs/ligplayerkitcore/gamedataconditioncode/oneperday.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameDataConditionCode.timeLimit","decl":"case timeLimit","doc":"Outside the time limit (wire code 14).","md":"docs/ligplayerkitcore/gamedataconditioncode/timelimit.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameDataConditionCode.unknown","decl":"case unknown","doc":"A code the SDK does not recognise; the original value is not retained.","md":"docs/ligplayerkitcore/gamedataconditioncode/unknown.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameDataConditionCode.init(from:)","decl":"init(from decoder: any Decoder) throws","doc":"Decodes from the server's integer code.","md":"docs/ligplayerkitcore/gamedataconditioncode/init(from:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameDataConditionCode.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","doc":"Encodes as the server's integer code.","md":"docs/ligplayerkitcore/gamedataconditioncode/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameDataConditionCode.init(rawValue:)","decl":"init?(rawValue: Int)","md":"docs/ligplayerkitcore/gamedataconditioncode/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"GameDataConditionCode.RawValue","decl":"typealias RawValue = Int"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameDataConditionCode.rawValue","decl":"var rawValue: Int { get }"},{"kind":"enum","module":"LiGPlayerKitCore","name":"GameResponseStatus","decl":"enum GameResponseStatus","doc":"Status of a ``GameResponse``, decoded from `\"Success\"`, `\"Done\"` or `\"Failure\"`; any other string decodes as ``unknown``.","md":"docs/ligplayerkitcore/gameresponsestatus.md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"GameResponseStatus.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/gameresponsestatus/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameResponseStatus.success","decl":"case success","doc":"`\"Success\"`.","md":"docs/ligplayerkitcore/gameresponsestatus/success.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameResponseStatus.done","decl":"case done","doc":"`\"Done\"`.","md":"docs/ligplayerkitcore/gameresponsestatus/done.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameResponseStatus.failure","decl":"case failure","doc":"`\"Failure\"`.","md":"docs/ligplayerkitcore/gameresponsestatus/failure.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameResponseStatus.unknown","decl":"case unknown","doc":"A status the SDK does not recognise; the original string is not retained.","md":"docs/ligplayerkitcore/gameresponsestatus/unknown.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameResponseStatus.init(from:)","decl":"init(from decoder: any Decoder) throws","doc":"Decodes from the server's status string.","md":"docs/ligplayerkitcore/gameresponsestatus/init(from:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameResponseStatus.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","doc":"Encodes as the server's status string.","md":"docs/ligplayerkitcore/gameresponsestatus/encode(to:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"GameResponseStatus.==(_:_:)","decl":"static func == (a: GameResponseStatus, b: GameResponseStatus) -> Bool","static":true,"md":"docs/ligplayerkitcore/gameresponsestatus/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameResponseStatus.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/gameresponsestatus/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameResponseStatus.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/gameresponsestatus/hashvalue.md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"GameActionType","decl":"enum GameActionType","doc":"Action the host should take after a game response, decoded from the server's integer code (1–9).","notes":["The Swift `rawValue` (0–10) differs from the wire code; use encoding/decoding, not `rawValue`, to map to the server value."],"md":"docs/ligplayerkitcore/gameactiontype.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameActionType.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/gameactiontype/init(from:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameActionType.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/gameactiontype/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameActionType.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/gameactiontype/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"GameActionType.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/gameactiontype/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameActionType.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/gameactiontype/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameActionType.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/gameactiontype/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.noAction","decl":"case noAction","doc":"No action (wire code 1).","md":"docs/ligplayerkitcore/gameactiontype/noaction.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.customAction","decl":"case customAction","doc":"Custom action (wire code 2).","md":"docs/ligplayerkitcore/gameactiontype/customaction.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.voucherAction","decl":"case voucherAction","doc":"Voucher action (wire code 3).","md":"docs/ligplayerkitcore/gameactiontype/voucheraction.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.coinAction","decl":"case coinAction","doc":"Coin action (wire code 4).","md":"docs/ligplayerkitcore/gameactiontype/coinaction.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.FWCoinAction","decl":"case FWCoinAction","doc":"FW coin action (wire code 5).","md":"docs/ligplayerkitcore/gameactiontype/fwcoinaction.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.FWVoucherAction","decl":"case FWVoucherAction","doc":"FW voucher action (wire code 6).","md":"docs/ligplayerkitcore/gameactiontype/fwvoucheraction.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.FWLotteryAction","decl":"case FWLotteryAction","doc":"FW lottery action (wire code 7).","md":"docs/ligplayerkitcore/gameactiontype/fwlotteryaction.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.FWPoolAction","decl":"case FWPoolAction","doc":"FW pool action (wire code 8).","md":"docs/ligplayerkitcore/gameactiontype/fwpoolaction.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.poolAction","decl":"case poolAction","doc":"Pool action (wire code 9).","md":"docs/ligplayerkitcore/gameactiontype/poolaction.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.error","decl":"case error","doc":"Error (wire code 0).","md":"docs/ligplayerkitcore/gameactiontype/error.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"GameActionType.unknown","decl":"case unknown","doc":"A code the SDK does not recognise; the original value is not retained.","md":"docs/ligplayerkitcore/gameactiontype/unknown.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameActionType.init(from:)","decl":"init(from decoder: any Decoder) throws","doc":"Decodes from the server's integer code.","md":"docs/ligplayerkitcore/gameactiontype/init(from:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"GameActionType.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","doc":"Encodes as the server's integer code.","md":"docs/ligplayerkitcore/gameactiontype/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"GameActionType.init(rawValue:)","decl":"init?(rawValue: Int)","md":"docs/ligplayerkitcore/gameactiontype/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"GameActionType.RawValue","decl":"typealias RawValue = Int"},{"kind":"property","module":"LiGPlayerKitCore","name":"GameActionType.rawValue","decl":"var rawValue: Int { get }"},{"kind":"struct","module":"LiGPlayerKitCore","name":"AIResponse","decl":"struct AIResponse","doc":"Response of the AI question API: answer texts and optional recommendations.","md":"docs/ligplayerkitcore/airesponse.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponse.data","decl":"let data: [AIResponseText]","doc":"Answer texts.","md":"docs/ligplayerkitcore/airesponse/data.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponse.recommendations","decl":"let recommendations: AIResponseRecommendation?","doc":"Recommended streaming rooms, links and destinations, or `nil`.","md":"docs/ligplayerkitcore/airesponse/recommendations.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIResponse.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/airesponse/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AIResponse.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/airesponse/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"AIResponseRecommendation","decl":"struct AIResponseRecommendation","doc":"Recommendations attached to an ``AIResponse``.","md":"docs/ligplayerkitcore/airesponserecommendation.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseRecommendation.streamingRooms","decl":"let streamingRooms: [AIResponseStreamingRoom]","doc":"Recommended streaming rooms (`streaming_rooms`).","md":"docs/ligplayerkitcore/airesponserecommendation/streamingrooms.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseRecommendation.relatedLinks","decl":"let relatedLinks: [AIResponseRelatedLink]","doc":"Recommended related links (`related_links`).","md":"docs/ligplayerkitcore/airesponserecommendation/relatedlinks.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseRecommendation.destinations","decl":"let destinations: [AIResponseDestination]","doc":"Recommended destinations.","md":"docs/ligplayerkitcore/airesponserecommendation/destinations.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIResponseRecommendation.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/airesponserecommendation/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AIResponseRecommendation.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/airesponserecommendation/init(from:).md"},{"kind":"protocol","module":"LiGPlayerKitCore","name":"AIResponseDefaultStruct","decl":"protocol AIResponseDefaultStruct","doc":"Fields shared by every AI recommendation item.","md":"docs/ligplayerkitcore/airesponsedefaultstruct.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseDefaultStruct.thumbnailUrl","decl":"var thumbnailUrl: String? { get }","doc":"Thumbnail URL string.","md":"docs/ligplayerkitcore/airesponsedefaultstruct/thumbnailurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseDefaultStruct.description","decl":"var description: String? { get }","doc":"Description text.","md":"docs/ligplayerkitcore/airesponsedefaultstruct/description.md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"AIResponseRelatedLink","decl":"struct AIResponseRelatedLink","doc":"A related-link recommendation.","md":"docs/ligplayerkitcore/airesponserelatedlink.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseRelatedLink.thumbnailUrl","decl":"var thumbnailUrl: String?","doc":"Thumbnail URL string (`thumbnail_url`).","md":"docs/ligplayerkitcore/airesponserelatedlink/thumbnailurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseRelatedLink.description","decl":"var description: String?","doc":"Description text.","md":"docs/ligplayerkitcore/airesponserelatedlink/description.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseRelatedLink.url","decl":"let url: String","doc":"Link URL string.","md":"docs/ligplayerkitcore/airesponserelatedlink/url.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIResponseRelatedLink.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/airesponserelatedlink/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AIResponseRelatedLink.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/airesponserelatedlink/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"AIResponseStreamingRoom","decl":"struct AIResponseStreamingRoom","doc":"A streaming-room recommendation: a scene to switch to.","md":"docs/ligplayerkitcore/airesponsestreamingroom.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseStreamingRoom.thumbnailUrl","decl":"var thumbnailUrl: String?","doc":"Thumbnail URL string (`thumbnail_url`).","md":"docs/ligplayerkitcore/airesponsestreamingroom/thumbnailurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseStreamingRoom.description","decl":"var description: String?","doc":"Description text.","md":"docs/ligplayerkitcore/airesponsestreamingroom/description.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseStreamingRoom.sceneId","decl":"let sceneId: Int","doc":"Scene ID (`scene_id`).","md":"docs/ligplayerkitcore/airesponsestreamingroom/sceneid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseStreamingRoom.repositionToCamera","decl":"let repositionToCamera: Bool","doc":"Whether the scene is repositioned in front of the camera (`reposition_to_camera`).","md":"docs/ligplayerkitcore/airesponsestreamingroom/repositiontocamera.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIResponseStreamingRoom.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/airesponsestreamingroom/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AIResponseStreamingRoom.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/airesponsestreamingroom/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"AIResponseDestination","decl":"struct AIResponseDestination","doc":"A destination recommendation.","md":"docs/ligplayerkitcore/airesponsedestination.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseDestination.thumbnailUrl","decl":"var thumbnailUrl: String?","doc":"Thumbnail URL string (`thumbnail_url`).","md":"docs/ligplayerkitcore/airesponsedestination/thumbnailurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseDestination.description","decl":"var description: String?","doc":"Description text.","md":"docs/ligplayerkitcore/airesponsedestination/description.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseDestination.name","decl":"let name: String","doc":"Destination name.","md":"docs/ligplayerkitcore/airesponsedestination/name.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIResponseDestination.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/airesponsedestination/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AIResponseDestination.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/airesponsedestination/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"AIResponseText","decl":"struct AIResponseText","doc":"One answer in an ``AIResponse``.","md":"docs/ligplayerkitcore/airesponsetext.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseText.id","decl":"let id: Int?","doc":"Answer ID.","md":"docs/ligplayerkitcore/airesponsetext/id.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseText.aiResponseText","decl":"let aiResponseText: String?","doc":"Answer text (`ai_response_text`).","md":"docs/ligplayerkitcore/airesponsetext/airesponsetext.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseText.question","decl":"let question: String?","doc":"The question asked.","md":"docs/ligplayerkitcore/airesponsetext/question.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseText.promptId","decl":"let promptId: Int?","doc":"Prompt ID (`prompt_id`).","md":"docs/ligplayerkitcore/airesponsetext/promptid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseText.sessionId","decl":"let sessionId: String?","doc":"Conversation session ID (`session_id`).","md":"docs/ligplayerkitcore/airesponsetext/sessionid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseText.language","decl":"let language: String?","doc":"Language code.","md":"docs/ligplayerkitcore/airesponsetext/language.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIResponseText.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/airesponsetext/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AIResponseText.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/airesponsetext/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"AIResponseContent","decl":"struct AIResponseContent","doc":"Response of the AI voice API: recognized speech, reply text, and reply audio.","md":"docs/ligplayerkitcore/airesponsecontent.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseContent.recognizedText","decl":"let recognizedText: String?","doc":"Text recognized from the user's speech (`recognized_text`).","md":"docs/ligplayerkitcore/airesponsecontent/recognizedtext.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseContent.responseText","decl":"let responseText: String?","doc":"Reply text (`response_text`).","md":"docs/ligplayerkitcore/airesponsecontent/responsetext.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseContent.audioUrl","decl":"let audioUrl: String?","doc":"Reply audio URL string (`audio_url`).","md":"docs/ligplayerkitcore/airesponsecontent/audiourl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIResponseContent.audioData","decl":"let audioData: String?","doc":"Reply audio as base64-encoded TTS data (JSON key `base64_tts`).","md":"docs/ligplayerkitcore/airesponsecontent/audiodata.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIResponseContent.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/airesponsecontent/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AIResponseContent.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/airesponsecontent/init(from:).md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"DashboardDirection","decl":"enum DashboardDirection","doc":"Side on which a dashboard is shown.","md":"docs/ligplayerkitcore/dashboarddirection.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"DashboardDirection.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/dashboarddirection/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"DashboardDirection.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/dashboarddirection/init(from:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"DashboardDirection.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitcore/dashboarddirection/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"DashboardDirection.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitcore/dashboarddirection/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitCore","name":"DashboardDirection.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitcore/dashboarddirection/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"DashboardDirection.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitcore/dashboarddirection/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"DashboardDirection.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitcore/dashboarddirection/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"DashboardDirection.left","decl":"case left","doc":"Left (raw value 1).","md":"docs/ligplayerkitcore/dashboarddirection/left.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"DashboardDirection.right","decl":"case right","doc":"Right (raw value 2).","md":"docs/ligplayerkitcore/dashboarddirection/right.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"DashboardDirection.name","decl":"var name: String { get }","doc":"Lower-case name: `\"left\"` or `\"right\"`.","md":"docs/ligplayerkitcore/dashboarddirection/name.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"DashboardDirection.init(rawValue:)","decl":"init?(rawValue: Int)","md":"docs/ligplayerkitcore/dashboarddirection/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"DashboardDirection.RawValue","decl":"typealias RawValue = Int"},{"kind":"property","module":"LiGPlayerKitCore","name":"DashboardDirection.rawValue","decl":"var rawValue: Int { get }"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ZooRecommendationReponse","decl":"struct ZooRecommendationReponse","doc":"Response of the zoo recommendation API.","md":"docs/ligplayerkitcore/zoorecommendationreponse.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZooRecommendationReponse.message","decl":"let message: String","doc":"Server message.","md":"docs/ligplayerkitcore/zoorecommendationreponse/message.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZooRecommendationReponse.createAt","decl":"let createAt: String","doc":"Creation time (`created_at`), as returned by the server.","md":"docs/ligplayerkitcore/zoorecommendationreponse/createat.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZooRecommendationReponse.data","decl":"let data: [ZooRecommendationData]","doc":"Recommendation items.","md":"docs/ligplayerkitcore/zoorecommendationreponse/data.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZooRecommendationReponse.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/zoorecommendationreponse/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ZooRecommendationReponse.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/zoorecommendationreponse/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ZooRecommendationData","decl":"struct ZooRecommendationData","doc":"One zoo recommendation item.","md":"docs/ligplayerkitcore/zoorecommendationdata.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZooRecommendationData.title","decl":"let title: String","doc":"Title.","md":"docs/ligplayerkitcore/zoorecommendationdata/title.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZooRecommendationData.url","decl":"let url: String","doc":"Link URL string.","md":"docs/ligplayerkitcore/zoorecommendationdata/url.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZooRecommendationData.date","decl":"let date: String?","doc":"Date string (JSON key `date-string`).","md":"docs/ligplayerkitcore/zoorecommendationdata/date.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZooRecommendationData.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/zoorecommendationdata/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ZooRecommendationData.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/zoorecommendationdata/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"ZooOpeninghourData","decl":"struct ZooOpeninghourData","doc":"Response of the zoo opening-hours API.","md":"docs/ligplayerkitcore/zooopeninghourdata.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZooOpeninghourData.message","decl":"let message: String","doc":"Server message.","md":"docs/ligplayerkitcore/zooopeninghourdata/message.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZooOpeninghourData.data","decl":"let data: String","doc":"Opening-hours text.","md":"docs/ligplayerkitcore/zooopeninghourdata/data.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"ZooOpeninghourData.createAt","decl":"let createAt: String","doc":"Creation time (`created_at`), as returned by the server.","md":"docs/ligplayerkitcore/zooopeninghourdata/createat.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"ZooOpeninghourData.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/zooopeninghourdata/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"ZooOpeninghourData.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/zooopeninghourdata/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Credential","decl":"struct Credential","doc":"A credential that a scene exchanges for a token when it loads.","md":"docs/ligplayerkitcore/credential.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Credential.type","decl":"let type: String","doc":"Credential type, account (`id`) and password (`pwd`).","md":"docs/ligplayerkitcore/credential/type.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Credential.id","decl":"let id: String","doc":"Credential type, account (`id`) and password (`pwd`).","md":"docs/ligplayerkitcore/credential/id.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Credential.pwd","decl":"let pwd: String","doc":"Credential type, account (`id`) and password (`pwd`).","md":"docs/ligplayerkitcore/credential/pwd.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Credential.url","decl":"let url: String","doc":"Token endpoint URL string.","md":"docs/ligplayerkitcore/credential/url.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Credential.additionals","decl":"let additionals: [String : String]?","doc":"Extra body fields merged into the token request; they never override `account` or `password`.","md":"docs/ligplayerkitcore/credential/additionals.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Credential.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/credential/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Credential.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/credential/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Answer","decl":"struct Answer","doc":"An answer option of a Q&A node question.","md":"docs/ligplayerkitcore/answer.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Answer.answerText","decl":"let answerText: String","doc":"Answer text (`answer_text`).","md":"docs/ligplayerkitcore/answer/answertext.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Answer.answerBackgroundImageUrl","decl":"let answerBackgroundImageUrl: String","doc":"Answer background image URL string (`answer_background_image_url`).","md":"docs/ligplayerkitcore/answer/answerbackgroundimageurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Answer.answerAction","decl":"let answerAction: String","doc":"What happens when the answer is chosen (`answer_action`).","md":"docs/ligplayerkitcore/answer/answeraction.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Answer.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/answer/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Answer.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/answer/init(from:).md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"Question","decl":"struct Question","doc":"A question of a Q&A node.","md":"docs/ligplayerkitcore/question.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Question.text","decl":"let text: String","doc":"Question text.","md":"docs/ligplayerkitcore/question/text.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Question.backgroundImageUrl","decl":"let backgroundImageUrl: String","doc":"Background image URL string (`background_image_url`).","md":"docs/ligplayerkitcore/question/backgroundimageurl.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"Question.answers","decl":"let answers: [Answer]","doc":"Answer options.","md":"docs/ligplayerkitcore/question/answers.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"Question.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitcore/question/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitCore","name":"Question.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitcore/question/init(from:).md"},{"kind":"protocol","module":"LiGPlayerKitCore","name":"LiGAction","decl":"protocol LiGAction : AnyObject","doc":"A single unit of behaviour that a renderer runs against a ``LiGActionTarget``.","notes":["Only the RealityKit renderer currently executes actions through ``LiGActionPlan``. SceneKit adopts this protocol, but its event pipeline still runs `SCNAction`s directly; its `run(on:context:)` is a no-op unless the target is an `SCNNode`."],"md":"docs/ligplayerkitcore/ligaction.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGAction.actionGroup","decl":"var actionGroup: Int { get }","doc":"The execution-group ordinal used by ``LiGActionGroup/compile(_:)``.","md":"docs/ligplayerkitcore/ligaction/actiongroup.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGAction.run(on:context:)","decl":"@MainActor func run(on target: any LiGActionTarget, context: any LiGRendererContext) async throws","doc":"Runs the action's work against `target` and suspends until it finishes.","md":"docs/ligplayerkitcore/ligaction/run(on:context:).md"},{"kind":"protocol","module":"LiGPlayerKitCore","name":"LiGActionTarget","decl":"protocol LiGActionTarget : AnyObject","doc":"A scene-graph node that a ``LiGAction`` can run against.","md":"docs/ligplayerkitcore/ligactiontarget.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGActionTarget.liGId","decl":"var liGId: Int { get }","doc":"The AR object's id from the cloud scene JSON (`ArObject.id`).","md":"docs/ligplayerkitcore/ligactiontarget/ligid.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGActionTarget.liGName","decl":"var liGName: String { get }","doc":"The AR object's name (`ArObject.objectName`).","md":"docs/ligplayerkitcore/ligactiontarget/ligname.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGActionTarget.isActionEnable","decl":"var isActionEnable: Bool { get set }","doc":"Re-entry gate for long-running actions on this target.","md":"docs/ligplayerkitcore/ligactiontarget/isactionenable.md"},{"kind":"protocol","module":"LiGPlayerKitCore","name":"LiGRendererContext","decl":"protocol LiGRendererContext : AnyObject","doc":"The scene-level services a renderer offers to a running ``LiGAction``.","md":"docs/ligplayerkitcore/ligrenderercontext.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGRendererContext.findTarget(id:)","decl":"@MainActor func findTarget(id: Int) -> (any LiGActionTarget)?","doc":"Returns the node of the currently loaded scene whose AR-object id is `id`.","md":"docs/ligplayerkitcore/ligrenderercontext/findtarget(id:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGRendererContext.switchToScene(sceneId:reposition:)","decl":"@MainActor func switchToScene(sceneId: String, reposition: Bool) async throws","doc":"Unloads the current scene and loads the scene `sceneId` from the cloud.","notes":["Renderers differ on bad input. RealityKit returns without loading when `sceneId` is not numeric; SceneKit returns without loading when it has no access token."],"md":"docs/ligplayerkitcore/ligrenderercontext/switchtoscene(sceneid:reposition:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGRendererContext.popToFormerScene()","decl":"@MainActor func popToFormerScene() async throws","doc":"Reloads the scene that was active before the last ``switchToScene(sceneId:reposition:)`` and restores the saved world origin.","notes":["The saved transform is only set by a switch with `reposition: true` (or, on SceneKit, from a host-set `originTransform`), so after a switch without repositioning this call may do nothing."],"md":"docs/ligplayerkitcore/ligrenderercontext/poptoformerscene().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGRendererContext.postGameEvent(arObjectID:)","decl":"@MainActor func postGameEvent(arObjectID: Int) async throws","doc":"Reports that the user triggered the game object `arObjectID` and hands the server's `GameResponse` to the host.","md":"docs/ligplayerkitcore/ligrenderercontext/postgameevent(arobjectid:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGRendererContext.openWebURL(_:authenticated:)","decl":"@MainActor func openWebURL(_ url: URL, authenticated: Bool)","doc":"Asks the host to open `url` in a web view.","md":"docs/ligplayerkitcore/ligrenderercontext/openweburl(_:authenticated:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGRendererContext.postAIRequest(text:promptId:recommendationId:)","decl":"@MainActor func postAIRequest(text: String, promptId: Int, recommendationId: Int?) async throws -> AIResponseText?","doc":"Sends a transcribed user question to the LiG AI chat service and returns the first reply.","md":"docs/ligplayerkitcore/ligrenderercontext/postairequest(text:promptid:recommendationid:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGRendererContext.emitNonLiGAction(objectID:action:)","decl":"@MainActor func emitNonLiGAction(objectID: Int, action: Action)","doc":"Forwards an action the SDK does not execute itself to the host delegate (`nodeDidCallNonLiGAction` / `didCallNonLiGAction`).","md":"docs/ligplayerkitcore/ligrenderercontext/emitnonligaction(objectid:action:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGRendererContext.cameraWorldTransform","decl":"@MainActor var cameraWorldTransform: simd_float4x4? { get }","doc":"The AR camera's current world-space transform.","md":"docs/ligplayerkitcore/ligrenderercontext/cameraworldtransform.md"},{"kind":"struct","module":"LiGPlayerKitCore","name":"LiGActionPlan","decl":"struct LiGActionPlan","doc":"An executable plan of ``LiGAction`` values bucketed by ``LiGAction/actionGroup``.","md":"docs/ligplayerkitcore/ligactionplan.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGActionPlan.groups","decl":"let groups: [(group: Int, actions: [any LiGAction])]","doc":"The `(group, actions)` buckets in execution order.","md":"docs/ligplayerkitcore/ligactionplan/groups.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"LiGActionPlan.init(groups:)","decl":"init(groups: [(group: Int, actions: [any LiGAction])])","doc":"Creates a plan from pre-bucketed groups.","md":"docs/ligplayerkitcore/ligactionplan/init(groups:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGActionPlan.run(on:context:)","decl":"@MainActor func run(on target: any LiGActionTarget, context: any LiGRendererContext) async","doc":"Runs every group against `target`, one group at a time.","md":"docs/ligplayerkitcore/ligactionplan/run(on:context:).md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"LiGActionGroup","decl":"enum LiGActionGroup","doc":"Namespace for compiling ``LiGAction`` lists into a ``LiGActionPlan``.","md":"docs/ligplayerkitcore/ligactiongroup.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGActionGroup.compile(_:)","decl":"static func compile(_ actions: [any LiGAction]) -> LiGActionPlan","static":true,"doc":"Buckets `actions` by ``LiGAction/actionGroup`` into a plan ordered by ascending group.","md":"docs/ligplayerkitcore/ligactiongroup/compile(_:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"LiGActionWrapper","decl":"final class LiGActionWrapper","doc":"A ``LiGAction`` that applies the common action envelope — delay, repeat count and target redirection — around another action.","md":"docs/ligplayerkitcore/ligactionwrapper.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGActionWrapper.actionGroup","decl":"final let actionGroup: Int","doc":"The inner action's ``LiGAction/actionGroup``, copied at init.","md":"docs/ligplayerkitcore/ligactionwrapper/actiongroup.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGActionWrapper.inner","decl":"final let inner: any LiGAction","doc":"The wrapped action.","md":"docs/ligplayerkitcore/ligactionwrapper/inner.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGActionWrapper.delay","decl":"final let delay: TimeInterval","doc":"Seconds to wait before the first run.","md":"docs/ligplayerkitcore/ligactionwrapper/delay.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGActionWrapper.playCount","decl":"final let playCount: Int","doc":"How many times the inner action runs, back to back.","md":"docs/ligplayerkitcore/ligactionwrapper/playcount.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGActionWrapper.redirectTargetId","decl":"final let redirectTargetId: Int?","doc":"The AR-object id to run against instead of the caller's target, or `nil` to use the caller's target.","md":"docs/ligplayerkitcore/ligactionwrapper/redirecttargetid.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"LiGActionWrapper.init(inner:delay:playCount:redirectTargetId:)","decl":"init(inner: any LiGAction, delay: TimeInterval, playCount: Int, redirectTargetId: Int?)","doc":"Creates a wrapper.","md":"docs/ligplayerkitcore/ligactionwrapper/init(inner:delay:playcount:redirecttargetid:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGActionWrapper.run(on:context:)","decl":"@MainActor final func run(on target: any LiGActionTarget, context: any LiGRendererContext) async throws","doc":"Waits ``delay`` seconds, resolves the target, then runs ``inner`` ``playCount`` times in sequence.","notes":["A redirect id that matches nothing in the scene silently falls back to the caller's target instead of skipping the action.","Cancellation during the delay is swallowed: the wait ends early and the inner runs still start."],"md":"docs/ligplayerkitcore/ligactionwrapper/run(on:context:).md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"LiGMicrophoneGate","decl":"enum LiGMicrophoneGate","doc":"The SDK-wide switch by which the host app declares that its scene recording holds the microphone.","md":"docs/ligplayerkitcore/ligmicrophonegate.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGMicrophoneGate.didChangeNotification","decl":"static let didChangeNotification: Notification.Name","static":true,"doc":"Posted on the thread that changed the gate, after ``isHeldByRecorder`` changes.","md":"docs/ligplayerkitcore/ligmicrophonegate/didchangenotification.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"LiGMicrophoneGate.isHeldByRecorder","decl":"static var isHeldByRecorder: Bool { get }","static":true,"doc":"Whether a recording currently holds the microphone.","md":"docs/ligplayerkitcore/ligmicrophonegate/isheldbyrecorder.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGMicrophoneGate.setHeldByRecorder(_:)","decl":"static func setHeldByRecorder(_ held: Bool)","static":true,"doc":"Declares whether a recording holds the microphone.","md":"docs/ligplayerkitcore/ligmicrophonegate/setheldbyrecorder(_:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"LiGMicrophoneGate.refuses(_:)","decl":"@discardableResult static func refuses(_ feature: String) -> Bool","static":true,"doc":"Returns `true`, after logging that `feature` was refused, when the gate is held.","md":"docs/ligplayerkitcore/ligmicrophonegate/refuses(_:).md"},{"kind":"class","module":"LiGPlayerKitCore","name":"AIAudioRecognizer","decl":"actor AIAudioRecognizer","doc":"Live speech-to-text from the microphone, used to capture the user's question for the call-AI action.","notes":["Although it conforms to `ObservableObject`, no property is `@Published`, so SwiftUI views are not refreshed by ``transcriptText`` changes; use ``transcript`` instead."],"md":"docs/ligplayerkitcore/aiaudiorecognizer.md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.withSerialExecutor(_:)","decl":"nonisolated func withSerialExecutor<T, E>(_ operation: (any SerialExecutor) throws(E) -> T) throws(E) -> T where E : Error, T : ~Copyable"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.withSerialExecutor(_:)","decl":"nonisolated func withSerialExecutor<T, E>(_ operation: nonisolated(nonsending) (any SerialExecutor) async throws(E) -> T) async throws(E) -> T where E : Error, T : ~Copyable"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.preconditionIsolated(_:file:line:)","decl":"@backDeployed(before: macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0)\nnonisolated func preconditionIsolated(_ message: @autoclosure () -> String = String(), file: StaticString = #fileID, line: UInt = #line)","md":"docs/ligplayerkitcore/aiaudiorecognizer/preconditionisolated(_:file:line:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.assertIsolated(_:file:line:)","decl":"@backDeployed(before: macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0)\nnonisolated func assertIsolated(_ message: @autoclosure () -> String = String(), file: StaticString = #fileID, line: UInt = #line)","md":"docs/ligplayerkitcore/aiaudiorecognizer/assertisolated(_:file:line:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.assumeIsolated(_:file:line:)","decl":"nonisolated func assumeIsolated<T>(_ operation: (isolated Self) throws -> T, file: StaticString = #fileID, line: UInt = #line) rethrows -> T where T : Sendable","md":"docs/ligplayerkitcore/aiaudiorecognizer/assumeisolated(_:file:line:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.objectWillChange","decl":"var objectWillChange: ObservableObjectPublisher { get }","md":"docs/ligplayerkitcore/aiaudiorecognizer/objectwillchange.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.transcriptText","decl":"@MainActor var transcriptText: String","doc":"The latest (partial or final) transcription.","md":"docs/ligplayerkitcore/aiaudiorecognizer/transcripttext.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.transcript","decl":"@MainActor var transcript: ((String) -> Void)?","doc":"Called on the main actor with every transcription update.","md":"docs/ligplayerkitcore/aiaudiorecognizer/transcript.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.init(locale:)","decl":"init(locale: String)","doc":"Creates a recognizer for `locale` and asks for speech-recognition and microphone permission.","notes":["While ``LiGMicrophoneGate/isHeldByRecorder`` is `true`, the permission requests are skipped (only logged), and a running recognition is stopped when the gate becomes held."],"md":"docs/ligplayerkitcore/aiaudiorecognizer/init(locale:).md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.start()","decl":"@MainActor func start()","doc":"Starts recording and transcribing in a new task; returns immediately.","notes":["Sets the shared `AVAudioSession` category to `.record` and activates it, app-wide, which silences other playback. The category is not restored by ``stop()``."],"md":"docs/ligplayerkitcore/aiaudiorecognizer/start().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.resetTrans()","decl":"@MainActor func resetTrans()","doc":"Cancels recognition and stops the audio engine.","md":"docs/ligplayerkitcore/aiaudiorecognizer/resettrans().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.stop()","decl":"@MainActor func stop()","doc":"Cancels recognition and stops the audio engine in a new task; returns immediately.","md":"docs/ligplayerkitcore/aiaudiorecognizer/stop().md"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.ObjectWillChangePublisher","decl":"typealias ObjectWillChangePublisher = ObservableObjectPublisher","md":"docs/ligplayerkitcore/aiaudiorecognizer/objectwillchangepublisher.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AIAudioRecognizer.unownedExecutor","decl":"nonisolated final var unownedExecutor: UnownedSerialExecutor { get }","md":"docs/ligplayerkitcore/aiaudiorecognizer/unownedexecutor.md"},{"kind":"class","module":"LiGPlayerKitCore","name":"AIAudioSpeaker","decl":"@objc class AIAudioSpeaker","doc":"Speaks text aloud with the system speech synthesizer.","md":"docs/ligplayerkitcore/aiaudiospeaker.md"},{"kind":"init","module":"LiGPlayerKitCore","name":"AIAudioSpeaker.init()","decl":"override dynamic init()","doc":"Creates a speaker with its own `AVSpeechSynthesizer`.","md":"docs/ligplayerkitcore/aiaudiospeaker/init().md"},{"kind":"method","module":"LiGPlayerKitCore","name":"AIAudioSpeaker.speak(content:)","decl":"func speak(content: String)","doc":"Queues `content` for speech at full volume and returns immediately.","notes":["Activates the shared `AVAudioSession` and sets its category to `.playback`, app-wide, and does not restore the previous category. While ``LiGMicrophoneGate/isHeldByRecorder`` is `true` the session is left untouched (the recorder owns it) and the text is spoken through the session as the recorder set it."],"md":"docs/ligplayerkitcore/aiaudiospeaker/speak(content:).md"},{"kind":"enum","module":"LiGPlayerKitCore","name":"SceneLoadError","decl":"enum SceneLoadError","doc":"Diagnostic reported to the host when a scene fails to load.","md":"docs/ligplayerkitcore/sceneloaderror.md"},{"kind":"property","module":"LiGPlayerKitCore","name":"SceneLoadError.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitcore/sceneloaderror/localizeddescription.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"SceneLoadError.download(_:)","decl":"case download(any Error)","doc":"The scene archive could not be fetched.","md":"docs/ligplayerkitcore/sceneloaderror/download(_:).md"},{"kind":"case","module":"LiGPlayerKitCore","name":"SceneLoadError.unzip(_:)","decl":"case unzip(any Error)","doc":"The fetched archive could not be expanded.","md":"docs/ligplayerkitcore/sceneloaderror/unzip(_:).md"},{"kind":"case","module":"LiGPlayerKitCore","name":"SceneLoadError.readArchive(_:)","decl":"case readArchive(any Error)","doc":"The expanded archive could not be scanned.","md":"docs/ligplayerkitcore/sceneloaderror/readarchive(_:).md"},{"kind":"case","module":"LiGPlayerKitCore","name":"SceneLoadError.missingSceneFile","decl":"case missingSceneFile","doc":"The expanded archive contains no `scene.json`.","md":"docs/ligplayerkitcore/sceneloaderror/missingscenefile.md"},{"kind":"case","module":"LiGPlayerKitCore","name":"SceneLoadError.malformedScene(_:)","decl":"case malformedScene(any Error)","doc":"`scene.json` was present but did not decode.","md":"docs/ligplayerkitcore/sceneloaderror/malformedscene(_:).md"},{"kind":"property","module":"LiGPlayerKitCore","name":"AVPlayer.isPlaying","decl":"@MainActor @preconcurrency var isPlaying: Bool { get }","doc":"Whether playback has been requested and the player has not failed."},{"kind":"method","module":"LiGPlayerKitCore","name":"CGFloat.converRadians()","decl":"func converRadians() -> CGFloat","doc":"Converts a value in degrees to radians."},{"kind":"method","module":"LiGPlayerKitCore","name":"CGFloat.toRad()","decl":"func toRad() -> CGFloat","doc":"Converts a value in degrees to radians."},{"kind":"method","module":"LiGPlayerKitCore","name":"CGFloat.toEulerAngle()","decl":"func toEulerAngle() -> CGFloat","doc":"Converts a value in radians to degrees."},{"kind":"method","module":"LiGPlayerKitCore","name":"URLSession.download(from:delegate:progress:)","decl":"func download(from url: URL, delegate: (any URLSessionDelegate)? = nil, progress parent: Progress) async throws -> (URL, URLResponse)","doc":"Downloads `url` to a temporary file while reporting progress into `parent`.","notes":["`delegate` is not forwarded to the request."]},{"kind":"method","module":"LiGPlayerKitCore","name":"URLSession.download(for:delegate:progress:)","decl":"func download(for request: URLRequest, delegate: (any URLSessionTaskDelegate)? = nil, progress parent: Progress) async throws -> (URL, URLResponse)","doc":"Downloads `request` to a new file in `NSTemporaryDirectory()` while reporting progress into `parent`."},{"kind":"enum","module":"LiGPlayerKitCore","name":"OutputStream.OutputStreamError","decl":"enum OutputStreamError","doc":"Errors thrown by ``write(_:)``."},{"kind":"property","module":"LiGPlayerKitCore","name":"OutputStream.OutputStreamError.localizedDescription","decl":"var localizedDescription: String { get }"},{"kind":"operator","module":"LiGPlayerKitCore","name":"OutputStream.OutputStreamError.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true},{"kind":"case","module":"LiGPlayerKitCore","name":"OutputStream.OutputStreamError.writeFailed","decl":"case writeFailed","doc":"The stream accepted no bytes (it returned 0 or -1); see the stream's `streamError`."},{"kind":"case","module":"LiGPlayerKitCore","name":"OutputStream.OutputStreamError.bufferFailed","decl":"case bufferFailed","doc":"The data's buffer had no base address."},{"kind":"operator","module":"LiGPlayerKitCore","name":"OutputStream.OutputStreamError.==(_:_:)","decl":"static func == (a: OutputStream.OutputStreamError, b: OutputStream.OutputStreamError) -> Bool","static":true},{"kind":"method","module":"LiGPlayerKitCore","name":"OutputStream.OutputStreamError.hash(into:)","decl":"func hash(into hasher: inout Hasher)"},{"kind":"property","module":"LiGPlayerKitCore","name":"OutputStream.OutputStreamError.hashValue","decl":"var hashValue: Int { get }"},{"kind":"method","module":"LiGPlayerKitCore","name":"OutputStream.write(_:)","decl":"func write(_ data: Data) throws","doc":"Writes all of `data` to the stream, looping until every byte is accepted."},{"kind":"struct","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions","decl":"struct HexEncodingOptions","doc":"Options for ``hexEncodedString(options:)``."},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.union(_:)","decl":"func union(_ other: Self) -> Self"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.intersection(_:)","decl":"func intersection(_ other: Self) -> Self"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.symmetricDifference(_:)","decl":"func symmetricDifference(_ other: Self) -> Self"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.contains(_:)","decl":"func contains(_ member: Self) -> Bool"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.insert(_:)","decl":"@discardableResult mutating func insert(_ newMember: Self.Element) -> (inserted: Bool, memberAfterInsert: Self.Element)"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.remove(_:)","decl":"@discardableResult mutating func remove(_ member: Self.Element) -> Self.Element?"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.update(with:)","decl":"@discardableResult mutating func update(with newMember: Self.Element) -> Self.Element?"},{"kind":"init","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.init()","decl":"init()"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.formUnion(_:)","decl":"mutating func formUnion(_ other: Self)"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.formIntersection(_:)","decl":"mutating func formIntersection(_ other: Self)"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.formSymmetricDifference(_:)","decl":"mutating func formSymmetricDifference(_ other: Self)"},{"kind":"operator","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.insert(_:)","decl":"@discardableResult mutating func insert(_ newMember: Self.Element) -> (inserted: Bool, memberAfterInsert: Self.Element)"},{"kind":"init","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.init(arrayLiteral:)","decl":"init(arrayLiteral: Self.Element...)"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true},{"kind":"property","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }"},{"kind":"init","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.init(_:)","decl":"init<S>(_ sequence: S) where S : Sequence, Self.Element == S.Element"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.subtract(_:)","decl":"mutating func subtract(_ other: Self)"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.isSubset(of:)","decl":"func isSubset(of other: Self) -> Bool"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.isSuperset(of:)","decl":"func isSuperset(of other: Self) -> Bool"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.isDisjoint(with:)","decl":"func isDisjoint(with other: Self) -> Bool"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.subtracting(_:)","decl":"func subtracting(_ other: Self) -> Self"},{"kind":"property","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.isEmpty","decl":"var isEmpty: Bool { get }"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.isStrictSuperset(of:)","decl":"func isStrictSuperset(of other: Self) -> Bool"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.isStrictSubset(of:)","decl":"func isStrictSubset(of other: Self) -> Bool"},{"kind":"property","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.rawValue","decl":"let rawValue: Int","doc":"The raw option bits."},{"kind":"init","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.init(rawValue:)","decl":"init(rawValue: Int)","doc":"Creates an option set from raw bits."},{"kind":"property","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.upperCase","decl":"static let upperCase: Data.HexEncodingOptions","static":true,"doc":"Use upper-case hex digits (`A`–`F`)."},{"kind":"typealias","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.ArrayLiteralElement","decl":"typealias ArrayLiteralElement = Data.HexEncodingOptions"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.Element","decl":"typealias Element = Data.HexEncodingOptions"},{"kind":"typealias","module":"LiGPlayerKitCore","name":"Data.HexEncodingOptions.RawValue","decl":"typealias RawValue = Int"},{"kind":"method","module":"LiGPlayerKitCore","name":"Data.hexEncodedString(options:)","decl":"func hexEncodedString(options: Data.HexEncodingOptions = []) -> String","doc":"Returns the bytes as a hex string, two digits per byte, no separators."},{"kind":"method","module":"LiGPlayerKitCore","name":"NSMutableData.append(_:)","decl":"func append(_ string: String)","doc":"Appends `string` encoded as UTF-8."},{"kind":"method","module":"LiGPlayerKitCore","name":"KeyedDecodingContainer.decode(_:forKey:)","decl":"func decode(_ type: [Any].Type, forKey key: KeyedDecodingContainer<K>.Key) throws -> [Any]","doc":"Decodes a JSON array of untyped values."},{"kind":"method","module":"LiGPlayerKitCore","name":"KeyedDecodingContainer.decode(_:forKey:)","decl":"func decode(_ type: [String : Any].Type, forKey key: KeyedDecodingContainer<K>.Key) throws -> [String : Any]","doc":"Decodes a JSON object of untyped values."},{"kind":"method","module":"LiGPlayerKitCore","name":"KeyedDecodingContainer.decodeIfPresent(_:forKey:)","decl":"func decodeIfPresent(_ type: [Any].Type, forKey key: KeyedDecodingContainer<K>.Key) throws -> [Any]?","doc":"Decodes an untyped JSON array, or returns `nil` when the key is missing or `null`."},{"kind":"method","module":"LiGPlayerKitCore","name":"KeyedDecodingContainer.decodeIfPresent(_:forKey:)","decl":"func decodeIfPresent(_ type: [String : Any].Type, forKey key: KeyedDecodingContainer<K>.Key) throws -> [String : Any]?","doc":"Decodes an untyped JSON object, or returns `nil` when the key is missing or `null`."},{"kind":"method","module":"LiGPlayerKitCore","name":"KeyedEncodingContainer.encode(_:forKey:)","decl":"mutating func encode(_ value: [String : Any], forKey key: KeyedEncodingContainer<K>.Key) throws","doc":"Encodes an untyped dictionary as a JSON object.","notes":["`Int` is tested before `Bool`, so booleans that arrive as `NSNumber` (for example from `JSONSerialization`) are encoded as `1` or `0`."]},{"kind":"method","module":"LiGPlayerKitCore","name":"KeyedEncodingContainer.encode(_:forKey:)","decl":"mutating func encode(_ value: [Any], forKey key: KeyedEncodingContainer<K>.Key) throws","doc":"Encodes an untyped array as a JSON array, with the same value support as the dictionary overload."},{"kind":"method","module":"LiGPlayerKitCore","name":"KeyedEncodingContainer.encodeIfPresent(_:forKey:)","decl":"mutating func encodeIfPresent(_ value: [String : Any]?, forKey key: KeyedEncodingContainer<K>.Key) throws","doc":"Encodes an untyped dictionary, or an explicit `null` when `value` is `nil`.","notes":["Unlike the standard `encodeIfPresent`, a `nil` value writes `null` instead of omitting the key."]},{"kind":"method","module":"LiGPlayerKitCore","name":"KeyedEncodingContainer.encodeIfPresent(_:forKey:)","decl":"mutating func encodeIfPresent(_ value: [Any]?, forKey key: KeyedEncodingContainer<K>.Key) throws","doc":"Encodes an untyped array, or an explicit `null` when `value` is `nil`.","notes":["Unlike the standard `encodeIfPresent`, a `nil` value writes `null` instead of omitting the key."]},{"kind":"method","module":"LiGPlayerKitCore","name":"String.slice(from:to:)","decl":"func slice(from: String, to: String) -> String?","doc":"Returns the text between the first occurrence of `from` and the next occurrence of `to` after it."},{"kind":"method","module":"LiGPlayerKitCore","name":"String.split(by:)","decl":"func split(by length: Int) -> String","doc":"Breaks the string into lines of `length` characters for fixed-width label rendering."},{"kind":"property","module":"LiGPlayerKitCore","name":"Double.radians","decl":"var radians: Double { get }","doc":"This value, in degrees, converted to radians."},{"kind":"property","module":"LiGPlayerKitCore","name":"Double.angle","decl":"var angle: Double { get }","doc":"This value, in radians, converted to degrees."},{"kind":"property","module":"LiGPlayerKitCore","name":"Float.radians","decl":"var radians: Float { get }","doc":"This value, in degrees, converted to radians."},{"kind":"property","module":"LiGPlayerKitCore","name":"Float.angle","decl":"var angle: Float { get }","doc":"This value, in radians, converted to degrees."},{"kind":"method","module":"LiGPlayerKitCore","name":"UIImage.imageWithLabel(_:)","decl":"class func imageWithLabel(_ label: UILabel) -> UIImage","static":true,"doc":"Renders `label` into an image of `label.frame.size` at scale `1`."},{"kind":"method","module":"LiGPlayerKitCore","name":"UIImage.gifImageWithData(_:)","decl":"class func gifImageWithData(_ data: Data) -> UIImage?","static":true,"doc":"Creates an animated image from GIF data."},{"kind":"method","module":"LiGPlayerKitCore","name":"UIImage.gifImageWithURL(_:)","decl":"class func gifImageWithURL(_ gifUrl: URL) -> UIImage?","static":true,"doc":"Creates an animated image from a GIF file, reading it synchronously."},{"kind":"method","module":"LiGPlayerKitCore","name":"UIImage.gifImageWithName(_:)","decl":"class func gifImageWithName(_ name: String) -> UIImage?","static":true,"doc":"Creates an animated image from `<name>.gif` in the main bundle."},{"kind":"method","module":"LiGPlayerKitCore","name":"UIImage.delayForImageAtIndex(_:source:)","decl":"class func delayForImageAtIndex(_ index: Int, source: CGImageSource!) -> Double","static":true,"doc":"Returns the display time of GIF frame `index`, in seconds."},{"kind":"method","module":"LiGPlayerKitCore","name":"UIImage.gcdForPair(_:_:)","decl":"class func gcdForPair(_ value1: Int?, _ value2: Int?) -> Int","static":true,"doc":"Returns the greatest common divisor of two integers."},{"kind":"method","module":"LiGPlayerKitCore","name":"UIImage.gcdForArray(_:)","decl":"class func gcdForArray(_ array: Array<Int>) -> Int","static":true,"doc":"Returns the greatest common divisor of all values, or `1` for an empty array."},{"kind":"method","module":"LiGPlayerKitCore","name":"UIImage.animatedImageWithSource(_:)","decl":"class func animatedImageWithSource(_ source: CGImageSource) -> UIImage?","static":true,"doc":"Builds an animated `UIImage` from every frame of `source`."},{"kind":"method","module":"LiGPlayerKitCore","name":"UIView.asImage()","decl":"@MainActor @preconcurrency func asImage() -> UIImage","doc":"Renders the view's layer into an image the size of its `bounds`, at the screen scale."},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"ZooOpeninghourNode","decl":"@MainActor @objc @preconcurrency class ZooOpeninghourNode","doc":"An opening-hours sign for zoo-message AR objects.","notes":["Each call of the basic configuration fetches the text again and, unless the fetch throws, adds another copy of the model, so setting ``SceneKitContext/frameUpdateDefaultActionEnabled`` to `true` duplicates it."],"md":"docs/ligplayerkitscenekit/zooopeninghournode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"ZooOpeninghourNode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Removes and destroys all child nodes, then destroys this node (see ``LiGBaseNode/destroy()``).","md":"docs/ligplayerkitscenekit/zooopeninghournode/destroy().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"ZooRecommendationModelNode","decl":"@MainActor @objc @preconcurrency class ZooRecommendationModelNode","doc":"A link board for zoo-recommendation AR objects.","notes":["Each call of the basic configuration fetches the list again and, unless the request fails with a network error or non-2xx status, adds another copy of the model, so setting ``SceneKitContext/frameUpdateDefaultActionEnabled`` to `true` duplicates it."],"md":"docs/ligplayerkitscenekit/zoorecommendationmodelnode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"ZooRecommendationModelNode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Removes and destroys all child nodes, then destroys this node (see ``LiGBaseNode/destroy()``).","md":"docs/ligplayerkitscenekit/zoorecommendationmodelnode/destroy().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"PanoramaVideoNode","decl":"@MainActor @objc @preconcurrency class PanoramaVideoNode","doc":"A 360° video for panorama-video AR objects, rendered on the inside of a sphere.","notes":["The video always loops; the object's loop-play and auto-play settings are not read."],"md":"docs/ligplayerkitscenekit/panoramavideonode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"PanoramaVideoNode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Destroys the node (see ``LiGBaseNode/destroy()``) and releases the video player.","md":"docs/ligplayerkitscenekit/panoramavideonode/destroy().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"PanoramaVideoNode.textureDidDownloaded(url:)","decl":"override nonisolated func textureDidDownloaded(url: URL) async throws","doc":"Loads the video and builds the sphere in a main-actor task after this returns.","md":"docs/ligplayerkitscenekit/panoramavideonode/texturediddownloaded(url:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"PanoramaVideoNode.playItemDidEnd(player:)","decl":"@MainActor @preconcurrency func playItemDidEnd(player: AVPlayer)","doc":"Restarts the video from the beginning when it ends.","md":"docs/ligplayerkitscenekit/panoramavideonode/playitemdidend(player:).md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"FloorNode","decl":"@MainActor @objc @preconcurrency class FloorNode","doc":"An invisible infinite floor (`SCNFloor`) for floor-type AR objects.","notes":["The node is created without its AR object, so the object's position, rotation, name, hidden state and events are never applied. The floor always sits at the scene origin (y = 0) and cannot be found by id."],"md":"docs/ligplayerkitscenekit/floornode.md"},{"kind":"struct","module":"LiGPlayerKitSceneKit","name":"DashboardRes","decl":"struct DashboardRes","doc":"The `{\"d\": ...}` response envelope of the dashboard data and credential-token endpoints.","md":"docs/ligplayerkitscenekit/dashboardres.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"DashboardRes.d","decl":"let d: String?","doc":"The raw payload string; its format depends on the endpoint.","md":"docs/ligplayerkitscenekit/dashboardres/d.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"DashboardRes.encode(to:)","decl":"func encode(to encoder: any Encoder) throws","md":"docs/ligplayerkitscenekit/dashboardres/encode(to:).md"},{"kind":"init","module":"LiGPlayerKitSceneKit","name":"DashboardRes.init(from:)","decl":"init(from decoder: any Decoder) throws","md":"docs/ligplayerkitscenekit/dashboardres/init(from:).md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"DashboardNode","decl":"@MainActor @objc @preconcurrency class DashboardNode","doc":"A farm-sensor dashboard panel for dashboard AR objects.","notes":["The request always sends an empty `token`: the code that looked up the credential's token from the scene is commented out. If the first fetch throws (for example a network error) the refresh loop ends; otherwise it runs until cancelled, holds the node strongly, and is only cancelled in `deinit`, so it keeps polling after ``LiGBaseNode/destroy()`` and the node is never released. Every call of the basic configuration starts another loop without cancelling the previous one, so setting ``SceneKitContext/frameUpdateDefaultActionEnabled`` to `true` adds a polling loop."],"md":"docs/ligplayerkitscenekit/dashboardnode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.clientDidConnect(_:)","decl":"func clientDidConnect(_ client: StagingControllerClient)","doc":"On connection, lists the rooms and joins the one named by the scene's room name, if it exists.","md":"docs/ligplayerkitscenekit/scenekitcontext/clientdidconnect(_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.clientDidDisconnect(_:)","decl":"func clientDidDisconnect(_ client: StagingControllerClient)","doc":"Does nothing.","md":"docs/ligplayerkitscenekit/scenekitcontext/clientdiddisconnect(_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.clientDidHostRoom(_:room:)","decl":"func clientDidHostRoom(_ client: StagingControllerClient, room: StagingControllerClient.Room)","doc":"Joins the room that was just hosted, as a player.","md":"docs/ligplayerkitscenekit/scenekitcontext/clientdidhostroom(_:room:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.clientDidCloseRoom(_:roomId:)","decl":"func clientDidCloseRoom(_ client: StagingControllerClient, roomId: Int)","doc":"Does nothing.","md":"docs/ligplayerkitscenekit/scenekitcontext/clientdidcloseroom(_:roomid:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.clientDidJoin(_:participant:)","decl":"func clientDidJoin(_ client: StagingControllerClient, participant: StagingControllerClient.Room.Participant)","doc":"Only logs the event.","md":"docs/ligplayerkitscenekit/scenekitcontext/clientdidjoin(_:participant:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.clientDidLeave(_:participantId:)","decl":"func clientDidLeave(_ client: StagingControllerClient, participantId: Int)","doc":"Does nothing.","md":"docs/ligplayerkitscenekit/scenekitcontext/clientdidleave(_:participantid:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.clientParticipantDidUpdate(_:participant:)","decl":"func clientParticipantDidUpdate(_ client: StagingControllerClient, participant: StagingControllerClient.Room.Participant)","doc":"Does nothing.","md":"docs/ligplayerkitscenekit/scenekitcontext/clientparticipantdidupdate(_:participant:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.clientDidStart(_:)","decl":"func clientDidStart(_ client: StagingControllerClient)","doc":"Only logs the event.","md":"docs/ligplayerkitscenekit/scenekitcontext/clientdidstart(_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.clientDidStop(_:)","decl":"func clientDidStop(_ client: StagingControllerClient)","doc":"Does nothing.","md":"docs/ligplayerkitscenekit/scenekitcontext/clientdidstop(_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.serverDidSend(_:message:)","decl":"func serverDidSend(_ client: StagingControllerClient, message: StagingControllerClient.GameMessage)","doc":"Applies a game message from the server to the scene.","notes":["Messages with an `action` of `custom_action`, `show_object` or `hide_object` reach this method instead of being executed unless the host has called ``installSceneKitGameMessageHandler()``; the SDK never calls it itself. Such messages are then handled by the `id` rule above or ignored."],"md":"docs/ligplayerkitscenekit/scenekitcontext/serverdidsend(_:message:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.gameServiceGameState(_:game:userCount:state:)","decl":"func gameServiceGameState(_ client: StagingControllerClient, game: StagingControllerClient, userCount: Int, state: [StagingControllerClient.UserState])","doc":"Does nothing.","md":"docs/ligplayerkitscenekit/scenekitcontext/gameservicegamestate(_:game:usercount:state:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.hostRoom()","decl":"func hostRoom() async","doc":"Hosts a multiplayer room named after the scene's room name and starts the game in it.","notes":["On failure it retries immediately and recursively, with no delay or limit, so a persistent failure (for example, not connected) never returns."],"md":"docs/ligplayerkitscenekit/scenekitcontext/hostroom().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.updateStagingData(id:url:)","decl":"func updateStagingData(id: Int, url: String?) async","doc":"Sends an object update to the other participants in the room.","md":"docs/ligplayerkitscenekit/scenekitcontext/updatestagingdata(id:url:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.closeRoom()","decl":"func closeRoom() async","doc":"Closes the hosted room, if the scene enables multiplayer and the client is connected.","md":"docs/ligplayerkitscenekit/scenekitcontext/closeroom().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.leaveRoom()","decl":"func leaveRoom() async","doc":"Leaves the current room, if the scene enables multiplayer and the client is connected.","md":"docs/ligplayerkitscenekit/scenekitcontext/leaveroom().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"SnowNode","decl":"@MainActor @objc @preconcurrency class SnowNode","doc":"A particle effect (snow by default) for snow-type AR objects.","md":"docs/ligplayerkitscenekit/snownode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SnowNode.textureDidDownloaded(url:)","decl":"override nonisolated func textureDidDownloaded(url: URL) async throws","doc":"Attaches the particle system, using the downloaded image as the particle image.","md":"docs/ligplayerkitscenekit/snownode/texturediddownloaded(url:).md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"QANode","decl":"@MainActor @objc @preconcurrency class QANode","doc":"A 3D multiple-choice quiz for quiz AR objects.","notes":["Each call of the basic configuration adds another copy of the bundled quiz model, so setting ``SceneKitContext/frameUpdateDefaultActionEnabled`` to `true` duplicates it."],"md":"docs/ligplayerkitscenekit/qanode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"QANode.clearCustomAction()","decl":"@MainActor @preconcurrency func clearCustomAction()","doc":"Clears the scene-action name stored by the last answer tap.","md":"docs/ligplayerkitscenekit/qanode/clearcustomaction().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"QANode.textureDidDownloaded(url:)","decl":"override nonisolated func textureDidDownloaded(url: URL) async throws","doc":"Loads the object's own model file and adds it as a child.","md":"docs/ligplayerkitscenekit/qanode/texturediddownloaded(url:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"QANode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Removes and destroys all child nodes, then destroys this node (see ``LiGBaseNode/destroy()``).","md":"docs/ligplayerkitscenekit/qanode/destroy().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"LiGPlayer","decl":"class LiGPlayer","doc":"Entry point to the SceneKit player.","md":"docs/ligplayerkitscenekit/ligplayer.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGPlayer.version","decl":"final let version: String","doc":"A hard-coded version string.","notes":["This value is not updated with releases and does not match the package version; do not use it to identify the SDK build."],"md":"docs/ligplayerkitscenekit/ligplayer/version.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGPlayer.sharedContext","decl":"static let sharedContext: SceneKitContext","static":true,"doc":"The shared SceneKit context; the same object as ``SceneKitContext/shared``.","md":"docs/ligplayerkitscenekit/ligplayer/sharedcontext.md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"LiGScene","decl":"actor LiGScene","doc":"The data of one loaded scene: its AR objects, event flags, named actions and credentials.","md":"docs/ligplayerkitscenekit/ligscene.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.withSerialExecutor(_:)","decl":"nonisolated func withSerialExecutor<T, E>(_ operation: (any SerialExecutor) throws(E) -> T) throws(E) -> T where E : Error, T : ~Copyable"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.withSerialExecutor(_:)","decl":"nonisolated func withSerialExecutor<T, E>(_ operation: nonisolated(nonsending) (any SerialExecutor) async throws(E) -> T) async throws(E) -> T where E : Error, T : ~Copyable"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.preconditionIsolated(_:file:line:)","decl":"@backDeployed(before: macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0)\nnonisolated func preconditionIsolated(_ message: @autoclosure () -> String = String(), file: StaticString = #fileID, line: UInt = #line)","md":"docs/ligplayerkitscenekit/ligscene/preconditionisolated(_:file:line:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.assertIsolated(_:file:line:)","decl":"@backDeployed(before: macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0)\nnonisolated func assertIsolated(_ message: @autoclosure () -> String = String(), file: StaticString = #fileID, line: UInt = #line)","md":"docs/ligplayerkitscenekit/ligscene/assertisolated(_:file:line:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.assumeIsolated(_:file:line:)","decl":"nonisolated func assumeIsolated<T>(_ operation: (isolated Self) throws -> T, file: StaticString = #fileID, line: UInt = #line) rethrows -> T where T : Sendable","md":"docs/ligplayerkitscenekit/ligscene/assumeisolated(_:file:line:).md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGScene.recordingAudio","decl":"nonisolated final let recordingAudio: RecordingAudio","doc":"What a recording made in this scene hears, from the scene data's `recording_audio`; ``RecordingAudio/arSceneAudio`` for a scene made with ``init(arObjects:)``.","md":"docs/ligplayerkitscenekit/ligscene/recordingaudio.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGScene.hasTouchEvents","decl":"var hasTouchEvents: Bool","doc":"Whether any AR object has a touch event.","md":"docs/ligplayerkitscenekit/ligscene/hastouchevents.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGScene.hasLocationEvents","decl":"var hasLocationEvents: Bool","doc":"Whether any AR object has a location event.","md":"docs/ligplayerkitscenekit/ligscene/haslocationevents.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGScene.hasStaringEvents","decl":"var hasStaringEvents: Bool","doc":"Whether any AR object has a look-at (staring) event.","md":"docs/ligplayerkitscenekit/ligscene/hasstaringevents.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGScene.hasPeriodEvents","decl":"var hasPeriodEvents: Bool","doc":"Whether any AR object has a cron-style period event.","md":"docs/ligplayerkitscenekit/ligscene/hasperiodevents.md"},{"kind":"enum","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError","decl":"enum LiGSceneError","doc":"Errors from fetching a scene credential's token.","md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror/localizeddescription.md"},{"kind":"operator","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError.apiError","decl":"case apiError","doc":"The credential endpoint answered with a non-2xx status.","md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror/apierror.md"},{"kind":"case","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError.authInvalidUrl","decl":"case authInvalidUrl","doc":"The credential URL is not a valid URL.","md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror/authinvalidurl.md"},{"kind":"case","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError.authBadBodyParams","decl":"case authBadBodyParams","doc":"The request body could not be encoded.","md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror/authbadbodyparams.md"},{"kind":"case","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError.authInvalidResponse","decl":"case authInvalidResponse","doc":"The response contained no token.","md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror/authinvalidresponse.md"},{"kind":"operator","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError.==(_:_:)","decl":"static func == (a: LiGScene.LiGSceneError, b: LiGScene.LiGSceneError) -> Bool","static":true,"md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGScene.LiGSceneError.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitscenekit/ligscene/ligsceneerror/hashvalue.md"},{"kind":"init","module":"LiGPlayerKitSceneKit","name":"LiGScene.init(arObjects:)","decl":"init(arObjects: [ArObject])","doc":"Creates a scene from a bare list of AR objects, with no scene metadata, credentials or named actions.","md":"docs/ligplayerkitscenekit/ligscene/init(arobjects:).md","deprecated":true},{"kind":"init","module":"LiGPlayerKitSceneKit","name":"LiGScene.init(scene:)","decl":"init(scene: SceneObject)","doc":"Creates a scene from decoded scene data.","md":"docs/ligplayerkitscenekit/ligscene/init(scene:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.readFromCloud(lightId:accessToken:success:failure:)","decl":"static func readFromCloud(lightId: Int, accessToken: String, success done: @escaping (LiGScene?) -> Void, failure onError: (((any Error)?) -> Void)? = nil)","static":true,"doc":"Fetches a light's AR objects from the legacy v1 API.","notes":["`done` is never called: the code that built the scene from a successful response is commented out, so a successful request produces no callback at all. Use ``SceneKitContext/loadSceneObjects(sceneId:reposition:transform:lang:token:)`` or ``SceneKitContext/startDownloadZip(with:forceRefresh:)`` instead."],"md":"docs/ligplayerkitscenekit/ligscene/readfromcloud(lightid:accesstoken:success:failure:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.forEach(doWork:)","decl":"func forEach(doWork: (ArObject) -> Void)","doc":"Calls `doWork` synchronously for each AR object, in order.","md":"docs/ligplayerkitscenekit/ligscene/foreach(dowork:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.arObjectsAsync()","decl":"func arObjectsAsync() -> AsyncStream<ArObject>","doc":"Returns a stream of a snapshot of the AR objects at the time of the call.","md":"docs/ligplayerkitscenekit/ligscene/arobjectsasync().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.parseEvents()","decl":"func parseEvents()","doc":"Scans every AR object's events and sub-events and sets the `has…Events` flags.","md":"docs/ligplayerkitscenekit/ligscene/parseevents().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.removeObject(_:)","decl":"func removeObject(_ object: ArObject)","doc":"Removes every AR object with the same id as `object` from the scene data.","md":"docs/ligplayerkitscenekit/ligscene/removeobject(_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.clear()","decl":"func clear()","doc":"Removes all AR objects from the scene data.","md":"docs/ligplayerkitscenekit/ligscene/clear().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.getObject(id:)","decl":"func getObject(id: Int) -> ArObject?","doc":"Returns the AR object with the given id, or `nil` if there is none.","md":"docs/ligplayerkitscenekit/ligscene/getobject(id:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.updateObject(_:)","decl":"func updateObject(_ object: ArObject)","doc":"Replaces the first AR object that has the same id as `object`.","md":"docs/ligplayerkitscenekit/ligscene/updateobject(_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGScene.getNodeGeometry(for:)","decl":"func getNodeGeometry(for node: SCNNode) async -> SCNGeometry","doc":"Finds a geometry in a node's hierarchy, for retexturing.","notes":["The node's properties are read on the scene actor, not the main thread."],"md":"docs/ligplayerkitscenekit/ligscene/getnodegeometry(for:).md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGScene.unownedExecutor","decl":"nonisolated final var unownedExecutor: UnownedSerialExecutor { get }","md":"docs/ligplayerkitscenekit/ligscene/unownedexecutor.md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"ActionGroup","decl":"class ActionGroup","doc":"This class parses rules from ArObject actions","md":"docs/ligplayerkitscenekit/actiongroup.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"ActionGroup.buildSortedActions(actions:)","decl":"class func buildSortedActions(actions: [Action]) -> SCNAction","static":true,"doc":"Build SCNAction from action rules","md":"docs/ligplayerkitscenekit/actiongroup/buildsortedactions(actions:).md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"PlaneNode","decl":"@MainActor @objc @preconcurrency class PlaneNode","doc":"An image plane for plane AR objects; animated GIFs are supported.","md":"docs/ligplayerkitscenekit/planenode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"PlaneNode.textureDidDownloaded(url:)","decl":"override nonisolated func textureDidDownloaded(url: URL) async throws","doc":"Builds the plane from the downloaded image.","md":"docs/ligplayerkitscenekit/planenode/texturediddownloaded(url:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"PlaneNode.syncTransformState(with:)","decl":"@MainActor @preconcurrency override func syncTransformState(with object: ArObject? = nil)","doc":"Re-applies position, rotation and scale (see ``LiGBaseNode/syncTransformState(with:)``), then sets the scale to the larger of `width` and `height` times the zoom.","notes":["The scale ignores aspect-ratio mode, so for an aspect-ratio plane the result differs from the size the plane was built with (unless `width` equals `height`)."],"md":"docs/ligplayerkitscenekit/planenode/synctransformstate(with:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"PlaneNode.loadBasicConfiguration()","decl":"@MainActor @preconcurrency func loadBasicConfiguration()","doc":"Applies the basic configuration from the AR object, then adds a `CIBloom` filter if the object's bloom intensity is positive.","notes":["Each call appends another bloom filter without removing the previous one. The SDK calls it again whenever ``SceneKitContext/frameUpdateDefaultActionEnabled`` is set to `true`, so filters accumulate."],"md":"docs/ligplayerkitscenekit/planenode/loadbasicconfiguration().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"DirectionalLightNode","decl":"@MainActor @objc @preconcurrency class DirectionalLightNode","doc":"A directional light that casts deferred shadows (50% black), for directional-light AR objects.","notes":["The node is created without its AR object, so the object's rotation, name, hidden state and events are never applied. The light always points along SceneKit's default direction (−Z) and cannot be found by id."],"md":"docs/ligplayerkitscenekit/directionallightnode.md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"NetworkView","decl":"@MainActor @objc @preconcurrency class NetworkView","doc":"The SDK's built-in full-screen web page with a close button, loaded from its bundled nib.","md":"docs/ligplayerkitscenekit/networkview.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"NetworkView.isAuthNeeded","decl":"@MainActor @preconcurrency final let isAuthNeeded: Bool","doc":"Whether ``load()`` sends the registered user's token with the page.","md":"docs/ligplayerkitscenekit/networkview/isauthneeded.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"NetworkView.urlString","decl":"@MainActor @preconcurrency var urlString: String?","doc":"The URL to open, as a string; read by ``load()``.","md":"docs/ligplayerkitscenekit/networkview/urlstring.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"NetworkView.didClickCloseButton","decl":"@MainActor @preconcurrency var didClickCloseButton: (() -> Void)?","doc":"Called when the user taps the close button.","md":"docs/ligplayerkitscenekit/networkview/didclickclosebutton.md"},{"kind":"init","module":"LiGPlayerKitSceneKit","name":"NetworkView.init(isAuth:frame:)","decl":"@MainActor @preconcurrency init(isAuth: Bool, frame: CGRect)","doc":"Creates the view and loads its nib.","md":"docs/ligplayerkitscenekit/networkview/init(isauth:frame:).md"},{"kind":"init","module":"LiGPlayerKitSceneKit","name":"NetworkView.init(coder:)","decl":"@MainActor @preconcurrency required dynamic init?(coder aDecoder: NSCoder)","doc":"Creates the view from an archive, with ``isAuthNeeded`` set to `false`.","md":"docs/ligplayerkitscenekit/networkview/init(coder:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"NetworkView.load()","decl":"@MainActor @preconcurrency func load()","doc":"Loads ``urlString`` in the web view.","notes":["The token scripts run in every frame and every page the web view later navigates to, including other sites, not only the original URL."],"md":"docs/ligplayerkitscenekit/networkview/load().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"PolygonNode","decl":"@MainActor @objc @preconcurrency class PolygonNode","doc":"A rotating multi-floor ring of image faces, for polyhedron AR objects.","notes":["The angle between faces is computed with integer division (`360 / faceCount`), so when 360 is not a multiple of `faceCount` the faces do not close the ring evenly."],"md":"docs/ligplayerkitscenekit/polygonnode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"PolygonNode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Cancels face building, destroys and removes all child nodes, then destroys this node (see ``LiGBaseNode/destroy()``).","md":"docs/ligplayerkitscenekit/polygonnode/destroy().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.getBLEPeripherals(peripherals:)","decl":"func getBLEPeripherals(peripherals: [(String, Int)])","doc":"Forwards the discovered-peripheral list to ``SceneKitContextBTDelegate/chooseBTPeripheral(list:)``.","md":"docs/ligplayerkitscenekit/scenekitcontext/getbleperipherals(peripherals:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.getBLEPeripheralValue(value:)","decl":"func getBLEPeripheralValue(value: String)","doc":"Handles a value received from the connected peripheral.","notes":["Unlike a screen tap, this trigger does not skip disabled objects, does not post a click log, and does not handle recommendation or quiz nodes specially."],"md":"docs/ligplayerkitscenekit/scenekitcontext/getbleperipheralvalue(value:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.getBLEPeripheralConnected(name:)","decl":"func getBLEPeripheralConnected(name: String)","doc":"Reports a successful connection through ``SceneKitContextBTDelegate/connectStatus(isSuccess:)`` with `true`.","md":"docs/ligplayerkitscenekit/scenekitcontext/getbleperipheralconnected(name:).md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"DiversityPolygonNode","decl":"@MainActor @objc @preconcurrency class DiversityPolygonNode","doc":"A rotating multi-floor ring of faces of mixed types, for polyhedron-2 AR objects.","notes":["The angle between faces is computed with integer division (`360 / faceCount`), so when 360 is not a multiple of `faceCount` the faces do not close the ring evenly."],"md":"docs/ligplayerkitscenekit/diversitypolygonnode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"DiversityPolygonNode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Cancels face building, destroys and removes all child nodes, then destroys this node (see ``LiGBaseNode/destroy()``).","md":"docs/ligplayerkitscenekit/diversitypolygonnode/destroy().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"VideoNode","decl":"@MainActor @objc @preconcurrency class VideoNode","doc":"A video plane for video AR objects, with optional chroma keying.","md":"docs/ligplayerkitscenekit/videonode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"VideoNode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Destroys the node (see ``LiGBaseNode/destroy()``) and releases the video player.","md":"docs/ligplayerkitscenekit/videonode/destroy().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"VideoNode.textureDidDownloaded(url:)","decl":"override nonisolated func textureDidDownloaded(url: URL) async throws","doc":"Loads the video and builds the plane.","md":"docs/ligplayerkitscenekit/videonode/texturediddownloaded(url:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"VideoNode.distanceWithPhoneChanged(distance:)","decl":"@MainActor @preconcurrency override func distanceWithPhoneChanged(distance: Double)","doc":"Sets the volume from the camera distance: `(v − 1.5 × d) / v`, clamped at 0, where `v` is the object's visible distance and `d` the distance, both in metres.","md":"docs/ligplayerkitscenekit/videonode/distancewithphonechanged(distance:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"VideoNode.playItemDidEnd(player:)","decl":"@MainActor @preconcurrency func playItemDidEnd(player: AVPlayer)","doc":"Rewinds to the start when the video ends, and plays again if the object is set to loop.","md":"docs/ligplayerkitscenekit/videonode/playitemdidend(player:).md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"BallNode","decl":"@MainActor @objc @preconcurrency class BallNode","doc":"A textured sphere for ball AR objects.","md":"docs/ligplayerkitscenekit/ballnode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"BallNode.textureDidDownloaded(url:)","decl":"override nonisolated func textureDidDownloaded(url: URL) async throws","doc":"Builds the sphere with the downloaded image as its texture.","md":"docs/ligplayerkitscenekit/ballnode/texturediddownloaded(url:).md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"OmniLightNode","decl":"@MainActor @objc @preconcurrency class OmniLightNode","doc":"An omnidirectional light for omni-light AR objects.","notes":["The node is created without its AR object, so the object's position, name, hidden state and events are never applied. The light always sits at the scene origin and cannot be found by id."],"md":"docs/ligplayerkitscenekit/omnilightnode.md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode","decl":"@MainActor @objc @preconcurrency class LiGBaseNode","doc":"The SceneKit node for one LiG AR object, and the base class of every type-specific node.","md":"docs/ligplayerkitscenekit/ligbasenode.md"},{"kind":"enum","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.NodeError","decl":"enum NodeError","doc":"Node errors.","md":"docs/ligplayerkitscenekit/ligbasenode/nodeerror.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.NodeError.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitscenekit/ligbasenode/nodeerror/localizeddescription.md"},{"kind":"operator","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.NodeError.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitscenekit/ligbasenode/nodeerror/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.NodeError.unknownType","decl":"case unknownType","doc":"An unsupported model type.","md":"docs/ligplayerkitscenekit/ligbasenode/nodeerror/unknowntype.md"},{"kind":"operator","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.NodeError.==(_:_:)","decl":"static func == (a: LiGBaseNode.NodeError, b: LiGBaseNode.NodeError) -> Bool","static":true,"md":"docs/ligplayerkitscenekit/ligbasenode/nodeerror/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.NodeError.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitscenekit/ligbasenode/nodeerror/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.NodeError.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitscenekit/ligbasenode/nodeerror/hashvalue.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.maxDistance","decl":"@MainActor @preconcurrency final let maxDistance: Float","doc":"A constant 20 (metres).","md":"docs/ligplayerkitscenekit/ligbasenode/maxdistance.md"},{"kind":"typealias","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.DidLoadedBlock","decl":"typealias DidLoadedBlock = (LiGBaseNode?) -> Void","doc":"A callback that receives a built node, or `nil`.","md":"docs/ligplayerkitscenekit/ligbasenode/didloadedblock.md"},{"kind":"typealias","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.CompletionBlock","decl":"typealias CompletionBlock = () -> Void","doc":"A callback with no arguments, used for ``actionPerformed``.","md":"docs/ligplayerkitscenekit/ligbasenode/completionblock.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.arObject","decl":"@MainActor @preconcurrency var arObject: ArObject?","doc":"The AR object this node was built from; `nil` after ``destroy()``.","notes":["``FloorNode``, ``OmniLightNode`` and ``DirectionalLightNode`` never set it, so it is always `nil` for them."],"md":"docs/ligplayerkitscenekit/ligbasenode/arobject.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.actionPerformed","decl":"@MainActor @preconcurrency var actionPerformed: LiGBaseNode.CompletionBlock?","doc":"Called when this node's look-at action finishes.","md":"docs/ligplayerkitscenekit/ligbasenode/actionperformed.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.changed","decl":"@MainActor @preconcurrency var changed: Bool","doc":"Set to `true` by the show, hide and remove actions when they change this node.","md":"docs/ligplayerkitscenekit/ligbasenode/changed.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.isActionEnable","decl":"@MainActor @preconcurrency var isActionEnable: Bool","doc":"Whether the call-API action may run on this node.","md":"docs/ligplayerkitscenekit/ligbasenode/isactionenable.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.textureDidDownloaded(url:)","decl":"nonisolated func textureDidDownloaded(url: URL) async throws","doc":"Hook for subclasses to build their content from the downloaded resource.","md":"docs/ligplayerkitscenekit/ligbasenode/texturediddownloaded(url:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.destroy()","decl":"@MainActor @preconcurrency func destroy()","doc":"Removes the node from its parent and releases its resources.","md":"docs/ligplayerkitscenekit/ligbasenode/destroy().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.runLiGActionOf(type:completion:)","decl":"@MainActor @preconcurrency func runLiGActionOf(type: ArEventEnum, completion: (() -> Void)? = nil)","doc":"Runs the actions for an event type, if this node has any.","md":"docs/ligplayerkitscenekit/ligbasenode/runligactionof(type:completion:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.runLiGAction(type:)","decl":"@MainActor @preconcurrency func runLiGAction(type: ArEventEnum) async","doc":"Runs the actions for an event type and waits for them to finish.","md":"docs/ligplayerkitscenekit/ligbasenode/runligaction(type:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.buildFromAsync(arObject:)","decl":"@MainActor @preconcurrency class func buildFromAsync(arObject: ArObject) async throws -> LiGBaseNode","static":true,"doc":"Builds the node for an AR object, choosing the subclass from its model type.","notes":["Floor and light nodes are built without their AR object, so the basic configuration and events are skipped for them: they keep the default transform, have no name (``SceneKitContext/findLiGNode(id:)`` cannot find them) and run no actions."],"md":"docs/ligplayerkitscenekit/ligbasenode/buildfromasync(arobject:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.distanceWithPhoneChanged(distance:)","decl":"@MainActor @preconcurrency func distanceWithPhoneChanged(distance: Double)","doc":"Called on the main actor on each per-frame pass while the object is within its visible distance.","md":"docs/ligplayerkitscenekit/ligbasenode/distancewithphonechanged(distance:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.proximityFunctionDetected(prevDistance:distance:)","decl":"@MainActor @preconcurrency func proximityFunctionDetected(prevDistance: Double, distance: Double)","doc":"Fires proximity actions when the camera crosses this object's proximity distances.","notes":["A threshold is only read if it is an integer in the event data; a fractional value disables the event. Because the first pass uses `0` as the previous distance, proximity-leave fires on the first pass for an object that starts beyond its leave distance."],"md":"docs/ligplayerkitscenekit/ligbasenode/proximityfunctiondetected(prevdistance:distance:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.wasStaredAt()","decl":"@MainActor @preconcurrency func wasStaredAt()","doc":"Runs the look-at actions, then calls ``actionPerformed``.","md":"docs/ligplayerkitscenekit/ligbasenode/wasstaredat().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.syncTransformState(with:)","decl":"@MainActor @preconcurrency func syncTransformState(with object: ArObject? = nil)","doc":"Re-applies position, rotation and scale from AR-object data.","md":"docs/ligplayerkitscenekit/ligbasenode/synctransformstate(with:).md"},{"kind":"protocol","module":"LiGPlayerKitSceneKit","name":"SceneKitContextDelegate","decl":"protocol SceneKitContextDelegate : AnyObject","doc":"Receives scene-load results and scene-driven events from ``SceneKitContext``.","md":"docs/ligplayerkitscenekit/scenekitcontextdelegate.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextDelegate.didLoaded()","decl":"func didLoaded()","doc":"Called once a scene's AR objects have been built and attached to the scene view.","notes":["An AR object whose node fails to build is skipped (the error is only printed), and `didLoaded()` still fires. If the context has no internal scene-view wrapper when the load reaches the node-building step (no ``SceneKitContext/sceneView`` was ever assigned, or ``SceneKitContext/destroy()`` has cleared it), nothing is built and neither `didLoaded()` nor ``didFailToLoadScene(_:)`` is ever called. Setting `sceneView` to `nil` alone does not clear the wrapper."],"md":"docs/ligplayerkitscenekit/scenekitcontextdelegate/didloaded().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextDelegate.gameTypeAction(gameType:value:)","decl":"func gameTypeAction(gameType: GameType, value: GameResponse)","doc":"Called with the result of a game API call made by a `GameAction` or by ``SceneKitContext/postGameApi(arObjectID:)``.","notes":["Not delivered on the main thread. `postGameApi` is a non-isolated `async` method, so it runs on the global concurrent executor even when called from the main actor. Hop to the main actor before touching UI."],"md":"docs/ligplayerkitscenekit/scenekitcontextdelegate/gametypeaction(gametype:value:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextDelegate.nodeDidCallNonLiGAction(objectID:action:)","decl":"func nodeDidCallNonLiGAction(objectID: Int, action: Action)","doc":"Called when a scene action that the SDK does not implement itself fires on a node, so the host can implement it.","notes":["When fired from a running scene action it is called synchronously on SceneKit's action-evaluation thread, not the main thread. Only calls through ``SceneKitContext/emitNonLiGAction(objectID:action:)`` arrive on the main actor."],"md":"docs/ligplayerkitscenekit/scenekitcontextdelegate/nodedidcallnonligaction(objectid:action:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextDelegate.aiResponseListDidFetched(list:)","decl":"func aiResponseListDidFetched(list: [AIResponseText])","doc":"Called with the reply list from the LiG AI chat API after a call-AI action or ``SceneKitContext/postAIRequest(text:promptId:recommendationId:)`` succeeds.","notes":["Not delivered on the main thread; it runs on the background executor that performed the request."],"md":"docs/ligplayerkitscenekit/scenekitcontextdelegate/airesponselistdidfetched(list:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextDelegate.doTransition()","decl":"func doTransition()","doc":"Called when the SDK starts switching to another scene, so the host can show a transition.","notes":["When the user taps a streaming-room entry on a recommendation node, this fires twice: once from the tap handler and once from the scene load it starts."],"md":"docs/ligplayerkitscenekit/scenekitcontextdelegate/dotransition().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextDelegate.didFailToLoadScene(_:)","decl":"func didFailToLoadScene(_ error: SceneLoadError)","doc":"Called once, in place of ``didLoaded()``, when the scene-load pipeline of ``SceneKitContext/startDownloadZip(with:forceRefresh:)`` fails.","notes":["Only the ZIP path reports here. A failure in ``SceneKitContext/loadSceneObjects(sceneId:reposition:transform:lang:token:)`` is thrown to its caller or ends silently, and an invalid URL string passed to `startDownloadZip` returns without any callback."],"md":"docs/ligplayerkitscenekit/scenekitcontextdelegate/didfailtoloadscene(_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextDelegate.sceneLoad(servedFromCache:)","decl":"func sceneLoad(servedFromCache: Bool)","doc":"Reports whether the scene ZIP for a ``SceneKitContext/startDownloadZip(with:forceRefresh:)`` call came from the on-disk cache.","md":"docs/ligplayerkitscenekit/scenekitcontextdelegate/sceneload(servedfromcache:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextDelegate.sceneLoad(servedFromCache:)","decl":"func sceneLoad(servedFromCache: Bool)","doc":"Default implementation that ignores the cache signal.","md":"docs/ligplayerkitscenekit/scenekitcontextdelegate/sceneload(servedfromcache:).md"},{"kind":"protocol","module":"LiGPlayerKitSceneKit","name":"SceneKitContextWebDelegate","decl":"protocol SceneKitContextWebDelegate : AnyObject","doc":"Lets the host present web pages that scene actions open.","md":"docs/ligplayerkitscenekit/scenekitcontextwebdelegate.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextWebDelegate.openWebView(_:)","decl":"func openWebView(_ request: URLRequest?)","doc":"Asks the host to open a web page.","md":"docs/ligplayerkitscenekit/scenekitcontextwebdelegate/openwebview(_:).md"},{"kind":"protocol","module":"LiGPlayerKitSceneKit","name":"SceneKitContextGestureDelegate","decl":"protocol SceneKitContextGestureDelegate : AnyObject","doc":"Lets the host intercept gestures on the scene view before the SDK handles them.","md":"docs/ligplayerkitscenekit/scenekitcontextgesturedelegate.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextGestureDelegate.sceneViewDidTapped(gesture:)","decl":"func sceneViewDidTapped(gesture: UITapGestureRecognizer) -> Bool","doc":"Called for every tap on the scene view, before any hit test.","md":"docs/ligplayerkitscenekit/scenekitcontextgesturedelegate/sceneviewdidtapped(gesture:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextGestureDelegate.sceneViewDidPinched(gesture:)","decl":"func sceneViewDidPinched(gesture: UIPinchGestureRecognizer) -> Bool","doc":"Called for every pinch-recognizer update on the scene view (all states).","md":"docs/ligplayerkitscenekit/scenekitcontextgesturedelegate/sceneviewdidpinched(gesture:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextGestureDelegate.nodeDidTap(node:)","decl":"func nodeDidTap(node: LiGBaseNode) -> Bool","doc":"Called when a tap lands on an enabled LiG node, before the SDK runs its touch actions.","md":"docs/ligplayerkitscenekit/scenekitcontextgesturedelegate/nodedidtap(node:).md"},{"kind":"protocol","module":"LiGPlayerKitSceneKit","name":"SceneKitNavigationDelegate","decl":"protocol SceneKitNavigationDelegate : AnyObject","doc":"Receives progress of the SDK's in-scene navigation to a destination.","md":"docs/ligplayerkitscenekit/scenekitnavigationdelegate.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitNavigationDelegate.nextTargetShowed(distance:)","decl":"func nextTargetShowed(distance: Double)","doc":"Called on every frame update while navigating.","md":"docs/ligplayerkitscenekit/scenekitnavigationdelegate/nexttargetshowed(distance:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitNavigationDelegate.targetArrived()","decl":"func targetArrived()","doc":"Called once when the next waypoint is less than 2 metres from the camera along the route; navigation then stops.","md":"docs/ligplayerkitscenekit/scenekitnavigationdelegate/targetarrived().md"},{"kind":"protocol","module":"LiGPlayerKitSceneKit","name":"SceneKitContextBTDelegate","decl":"protocol SceneKitContextBTDelegate : AnyObject","doc":"Receives Bluetooth peripheral discovery and connection events.","md":"docs/ligplayerkitscenekit/scenekitcontextbtdelegate.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextBTDelegate.chooseBTPeripheral(list:)","decl":"func chooseBTPeripheral(list: [(String, Int)])","doc":"Called each time a new named peripheral is discovered while scanning.","notes":["Also called, with an unchanged list, when a peripheral without a name is discovered."],"md":"docs/ligplayerkitscenekit/scenekitcontextbtdelegate/choosebtperipheral(list:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContextBTDelegate.connectStatus(isSuccess:)","decl":"func connectStatus(isSuccess: Bool)","doc":"Called when a peripheral connects.","notes":["Connection failures and disconnections are only logged; this callback is never made with `false`."],"md":"docs/ligplayerkitscenekit/scenekitcontextbtdelegate/connectstatus(issuccess:).md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"SceneKitContext","decl":"@objc class SceneKitContext","doc":"The SceneKit player: loads LiG scenes into an `ARSCNView`, runs their actions, and reports to the host through delegates.","md":"docs/ligplayerkitscenekit/scenekitcontext.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.shared","decl":"static let shared: SceneKitContext","static":true,"doc":"The shared context used by every SDK component, including scene actions.","md":"docs/ligplayerkitscenekit/scenekitcontext/shared.md"},{"kind":"enum","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError","decl":"enum ContextError","doc":"Errors thrown by the member-server API calls on ``SceneKitContext``.","md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror/localizeddescription.md"},{"kind":"operator","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError.HttpError","decl":"case HttpError","doc":"Declared but never thrown by the current implementation.","md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror/httperror.md"},{"kind":"case","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError.buildUriError","decl":"case buildUriError","doc":"The request could not be built, or a call that needs a user token was made before ``SceneKitContext/registerUser(userID:accessToken:)`` succeeded.","md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror/buildurierror.md"},{"kind":"case","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError.apiError","decl":"case apiError","doc":"The server answered with a non-2xx status.","md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror/apierror.md"},{"kind":"case","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError.noDataError","decl":"case noDataError","doc":"The response decoded to nothing usable.","md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror/nodataerror.md"},{"kind":"operator","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError.==(_:_:)","decl":"static func == (a: SceneKitContext.ContextError, b: SceneKitContext.ContextError) -> Bool","static":true,"md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ContextError.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitscenekit/scenekitcontext/contexterror/hashvalue.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.config","decl":"var config: ARConfiguration?","doc":"The AR configuration ``run()`` starts the session with.","md":"docs/ligplayerkitscenekit/scenekitcontext/config.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.sceneView","decl":"var sceneView: ARSCNView? { get set }","doc":"The `ARSCNView` scenes are rendered into.","notes":["``destroy()`` clears the internal wrapper in a detached task after removing the nodes. Assigning a new view immediately after ``destroy()`` can race with that task, which may then clear the new view's wrapper so later loads do nothing."],"md":"docs/ligplayerkitscenekit/scenekitcontext/sceneview.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.ligScene","decl":"var ligScene: LiGScene?","doc":"The scene currently loaded, or being loaded.","md":"docs/ligplayerkitscenekit/scenekitcontext/ligscene.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.currentRecordingAudio","decl":"var currentRecordingAudio: RecordingAudio { get }","doc":"What a recording made in the scene in ``ligScene`` hears, from its `recording_audio`.","md":"docs/ligplayerkitscenekit/scenekitcontext/currentrecordingaudio.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.isMicrophoneHeldByRecorder","decl":"var isMicrophoneHeldByRecorder: Bool { get }","doc":"Whether the host's scene recording currently holds the microphone; the same value as ``LiGMicrophoneGate/isHeldByRecorder``.","md":"docs/ligplayerkitscenekit/scenekitcontext/ismicrophoneheldbyrecorder.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.setMicrophoneHeld(_:)","decl":"func setMicrophoneHeld(_ held: Bool)","doc":"Declares whether the host's scene recording holds the microphone.","md":"docs/ligplayerkitscenekit/scenekitcontext/setmicrophoneheld(_:).md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.coordinateSystem","decl":"var coordinateSystem: CoordinateSystem?","doc":"A slot for the host to keep the current coordinate system.","notes":["The SDK never reads or writes this property; ``loadCoordinateSystemFrom(lightId:accessToken:session:lang:)`` returns its result without assigning it here."],"md":"docs/ligplayerkitscenekit/scenekitcontext/coordinatesystem.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.delegate","decl":"weak var delegate: (any SceneKitContextDelegate)?","doc":"Receives scene-load results and scene events.","md":"docs/ligplayerkitscenekit/scenekitcontext/delegate.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.gestureDelegate","decl":"weak var gestureDelegate: (any SceneKitContextGestureDelegate)?","doc":"Can intercept taps and pinches on the scene view.","md":"docs/ligplayerkitscenekit/scenekitcontext/gesturedelegate.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.stagingControllerClientDelegate","decl":"weak var stagingControllerClientDelegate: (any StagingControllerClientDelegate)?","doc":"An optional replacement for the context's own multiplayer handling.","md":"docs/ligplayerkitscenekit/scenekitcontext/stagingcontrollerclientdelegate.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.navigationDelegate","decl":"weak var navigationDelegate: (any SceneKitNavigationDelegate)?","doc":"Receives in-scene navigation progress.","md":"docs/ligplayerkitscenekit/scenekitcontext/navigationdelegate.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.btDelegate","decl":"weak var btDelegate: (any SceneKitContextBTDelegate)?","doc":"Receives Bluetooth discovery and connection events.","md":"docs/ligplayerkitscenekit/scenekitcontext/btdelegate.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.webDelegate","decl":"weak var webDelegate: (any SceneKitContextWebDelegate)?","doc":"Presents web pages for browser actions instead of the built-in ``NetworkView``.","md":"docs/ligplayerkitscenekit/scenekitcontext/webdelegate.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.frameUpdateDefaultActionEnabled","decl":"var frameUpdateDefaultActionEnabled: Bool { get set }","doc":"Whether ``frameUpdated(_:didUpdate:)`` runs the per-frame default behaviour: distance-based visibility, proximity events and look-at (staring) events.","notes":["Re-applying the basic configuration also re-runs node-specific setup: a dashboard node starts another refresh loop without cancelling the previous one; a quiz node adds another copy of its quiz model; the zoo nodes fetch their content again and add another copy of their model; a plane node with bloom adds another bloom filter; and an auto-play video node starts playing again."],"md":"docs/ligplayerkitscenekit/scenekitcontext/frameupdatedefaultactionenabled.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.uiProgress","decl":"var uiProgress: Progress","doc":"Progress of the current scene load, for the host's loading UI.","notes":["During node building `completedUnitCount` is updated from a background task, so key-value observers are notified off the main thread."],"md":"docs/ligplayerkitscenekit/scenekitcontext/uiprogress.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.removeProgress","decl":"var removeProgress: (() -> Void)?","doc":"Called when the host should dismiss its progress UI.","notes":["On the ZIP path the success call is not on the main actor; it runs on the background task that did the download."],"md":"docs/ligplayerkitscenekit/scenekitcontext/removeprogress.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.savedSceneId","decl":"var savedSceneId: String?","doc":"The id of the scene that was showing before the most recent ``loadSceneObjects(sceneId:reposition:transform:lang:token:)`` call.","md":"docs/ligplayerkitscenekit/scenekitcontext/savedsceneid.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.originTransform","decl":"var originTransform: simd_float4x4?","doc":"A one-shot transform for the next ``popToFormerScene()``.","notes":["Despite the name, it is not applied to the session by that load; the new scene is placed relative to the unchanged world origin."],"md":"docs/ligplayerkitscenekit/scenekitcontext/origintransform.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.aiSessionId","decl":"var aiSessionId: String?","doc":"The session id sent with AI chat requests.","md":"docs/ligplayerkitscenekit/scenekitcontext/aisessionid.md"},{"kind":"init","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.init()","decl":"override dynamic init()","doc":"Creates a context and deletes stale download flag files left by interrupted downloads.","md":"docs/ligplayerkitscenekit/scenekitcontext/init().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.run()","decl":"func run()","doc":"Starts (or resumes) the AR session of ``sceneView`` with ``config``.","md":"docs/ligplayerkitscenekit/scenekitcontext/run().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.rest()","decl":"func rest()","doc":"Clears the current scene's nodes without tearing down the context.","md":"docs/ligplayerkitscenekit/scenekitcontext/rest().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.pause()","decl":"func pause()","doc":"Pauses the AR session of ``sceneView``; resume with ``run()``.","md":"docs/ligplayerkitscenekit/scenekitcontext/pause().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.destroy()","decl":"func destroy()","doc":"Tears the context down when the AR screen closes.","notes":["Because the wrapper is dropped asynchronously, assigning a new ``sceneView`` right after this call can race with the cleanup task and leave the context without a wrapper, so later loads silently do nothing."],"md":"docs/ligplayerkitscenekit/scenekitcontext/destroy().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.startDownloadZip(with:forceRefresh:)","decl":"func startDownloadZip(with urlStr: String?, forceRefresh: Bool = false)","doc":"Downloads a scene ZIP, unpacks it, and loads the scene it contains.","md":"docs/ligplayerkitscenekit/scenekitcontext/startdownloadzip(with:forcerefresh:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.load()","decl":"func load()","doc":"Builds and attaches the nodes of ``ligScene``, replacing whatever is in the scene view.","notes":["Each completed load adds another set of tap, pinch and pan recognizers to the view without removing earlier ones. After several loads in the same view, one tap is handled once per load: the gesture delegate is asked, click logs are posted, and touch actions run, multiple times."],"md":"docs/ligplayerkitscenekit/scenekitcontext/load().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.setWorldOriginal(worldOriginTransform:)","decl":"func setWorldOriginal(worldOriginTransform: simd_float4x4?)","doc":"Moves the AR session's world origin.","md":"docs/ligplayerkitscenekit/scenekitcontext/setworldoriginal(worldorigintransform:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.BTActivated()","decl":"func BTActivated()","doc":"Turns on Bluetooth peripheral support.","md":"docs/ligplayerkitscenekit/scenekitcontext/btactivated().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.connectPeripheral(name:)","decl":"func connectPeripheral(name: String)","doc":"Connects to a discovered Bluetooth peripheral by name and stops scanning.","md":"docs/ligplayerkitscenekit/scenekitcontext/connectperipheral(name:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.findInteractiveNode(at:onlyLiG:childIncluded:)","decl":"func findInteractiveNode(at point: CGPoint, onlyLiG ligNodeOnly: Bool = false, childIncluded includeChild: Bool = false) async -> SCNNode?","doc":"Returns the node at a point in the scene view.","md":"docs/ligplayerkitscenekit/scenekitcontext/findinteractivenode(at:onlylig:childincluded:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.findLiGNode(id:)","decl":"@MainActor func findLiGNode(id: Int) -> LiGBaseNode?","doc":"Returns the LiG node for an AR object id.","md":"docs/ligplayerkitscenekit/scenekitcontext/findlignode(id:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.removeNode(node:)","decl":"@MainActor func removeNode(node: LiGBaseNode) async","doc":"Hides a LiG node.","notes":["Despite its name this only sets `isHidden = true`; the node stays in the scene graph and ``revealNode(node:)`` shows it again. While ``frameUpdateDefaultActionEnabled`` is `true`, distance-based visibility in ``frameUpdated(_:didUpdate:)`` can un-hide it on a later frame."],"md":"docs/ligplayerkitscenekit/scenekitcontext/removenode(node:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.revealNode(node:)","decl":"@MainActor func revealNode(node: LiGBaseNode) async","doc":"Shows a LiG node by setting `isHidden = false`.","md":"docs/ligplayerkitscenekit/scenekitcontext/revealnode(node:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.revealAllNodes()","decl":"@MainActor func revealAllNodes()","doc":"Un-hides every node in the scene view's scene graph, recursively.","md":"docs/ligplayerkitscenekit/scenekitcontext/revealallnodes().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.loadScenes(lightId:accessToken:session:)","decl":"func loadScenes(lightId: Int, accessToken: String, session: URLSession? = nil) async throws -> (scnObjc: [SceneObject], coorInfo: (map: String?, info: String?))?","doc":"Fetches the scenes of a light from the legacy v2 AR-objects API.","notes":["The scene array is always empty: the code that collected the scenes is commented out. Use ``loadCoordinateSystemFrom(lightId:accessToken:session:lang:)``."],"md":"docs/ligplayerkitscenekit/scenekitcontext/loadscenes(lightid:accesstoken:session:).md","deprecated":true},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.loadSceneObjects(sceneId:reposition:transform:lang:token:)","decl":"func loadSceneObjects(sceneId: String, reposition: Bool, transform: simd_float4x4? = nil, lang: String? = nil, token: String? = nil) async throws","doc":"Switches to a scene by id: fetches it from the LiG API and loads it in place of the current one.","notes":["The old scene is cleared before the request is sent, so on any failure the view is left empty. Several failures do not throw and send no failure callback: no token available, a request that cannot be built, and a response that does not decode all just call ``removeProgress`` and return."],"md":"docs/ligplayerkitscenekit/scenekitcontext/loadsceneobjects(sceneid:reposition:transform:lang:token:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.loadCoordinateSystemFrom(lightId:accessToken:session:lang:)","decl":"func loadCoordinateSystemFrom(lightId: Int, accessToken: String, session: URLSession? = nil, lang: String? = nil) async throws -> CoordinateSystem?","doc":"Fetches the coordinate system (scenes, map and navigation data) of a light.","notes":["The result is not stored in ``coordinateSystem``; assign it yourself if you want it there."],"md":"docs/ligplayerkitscenekit/scenekitcontext/loadcoordinatesystemfrom(lightid:accesstoken:session:lang:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.streamDidStart(ids:)","decl":"@MainActor func streamDidStart(ids: [Int])","doc":"Restarts playback on live-stream nodes.","md":"docs/ligplayerkitscenekit/scenekitcontext/streamdidstart(ids:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.streamEnded(ids:)","decl":"@MainActor func streamEnded(ids: [Int])","doc":"Stops playback on live-stream nodes and shows their preview image.","md":"docs/ligplayerkitscenekit/scenekitcontext/streamended(ids:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.registerUser(userID:accessToken:)","decl":"func registerUser(userID: String, accessToken: String) async throws","doc":"Registers (or signs in) an external user with the LiG member server and stores the resulting user token.","md":"docs/ligplayerkitscenekit/scenekitcontext/registeruser(userid:accesstoken:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.userProfile()","decl":"func userProfile() async throws -> LightenARUser","doc":"Fetches the registered user's profile from the member server (`GET api/v3/user_profile`).","md":"docs/ligplayerkitscenekit/scenekitcontext/userprofile().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.postGameApi(arObjectID:)","decl":"func postGameApi(arObjectID: Int) async throws","doc":"Reports a game interaction with an AR object to the member server and dispatches the result.","notes":["A response that fails to decode is only printed: nothing is thrown and the delegate is not called."],"md":"docs/ligplayerkitscenekit/scenekitcontext/postgameapi(arobjectid:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.frameUpdated(_:didUpdate:)","decl":"func frameUpdated(_ session: ARSession, didUpdate frame: ARFrame)","doc":"Drives the SDK's per-frame behaviour; call it from your `ARSessionDelegate.session(_:didUpdate:)`.","notes":["Navigation callbacks are made synchronously on the thread that calls this method."],"md":"docs/ligplayerkitscenekit/scenekitcontext/frameupdated(_:didupdate:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.stopNavModule()","decl":"func stopNavModule()","doc":"Stops in-scene navigation and removes the arrow and waypoint markers.","md":"docs/ligplayerkitscenekit/scenekitcontext/stopnavmodule().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"RecommendationModelNode","decl":"@MainActor @objc @preconcurrency class RecommendationModelNode","doc":"A panel that shows AI recommendations, for recommendation AR objects.","md":"docs/ligplayerkitscenekit/recommendationmodelnode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"RecommendationModelNode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Removes and destroys all child nodes, then destroys this node (see ``LiGBaseNode/destroy()``).","md":"docs/ligplayerkitscenekit/recommendationmodelnode/destroy().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"ModelNode","decl":"@MainActor @objc @preconcurrency class ModelNode","doc":"A 3D model for custom-3D-model AR objects.","md":"docs/ligplayerkitscenekit/modelnode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"ModelNode.textureDidDownloaded(url:)","decl":"override nonisolated func textureDidDownloaded(url: URL) async throws","doc":"Loads the model file, adds it (and any multiplied copies) as children, and starts auto-play animations on the main actor.","md":"docs/ligplayerkitscenekit/modelnode/texturediddownloaded(url:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"ModelNode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Removes and destroys all child nodes, then destroys this node (see ``LiGBaseNode/destroy()``).","md":"docs/ligplayerkitscenekit/modelnode/destroy().md"},{"kind":"class","module":"LiGPlayerKitSceneKit","name":"LiveStreamNode","decl":"@MainActor @objc @preconcurrency class LiveStreamNode","doc":"A live video stream on a plane, for live-stream AR objects, with optional chroma keying.","notes":["If both `width` and `height` are missing or zero, the plane's width is computed as 0 / 0 (NaN) and the plane is not usable; if only one is, the plane has zero width or height."],"md":"docs/ligplayerkitscenekit/livestreamnode.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiveStreamNode.destroy()","decl":"@MainActor @preconcurrency override func destroy()","doc":"Destroys the node (see ``LiGBaseNode/destroy()``) and stops the stream.","md":"docs/ligplayerkitscenekit/livestreamnode/destroy().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiveStreamNode.textureDidDownloaded(url:)","decl":"override nonisolated func textureDidDownloaded(url: URL) async throws","doc":"Downloads the preview image, if the object has one, and starts loading the stream.","md":"docs/ligplayerkitscenekit/livestreamnode/texturediddownloaded(url:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiveStreamNode.distanceWithPhoneChanged(distance:)","decl":"@MainActor @preconcurrency override func distanceWithPhoneChanged(distance: Double)","doc":"Sets the stream volume from the camera distance, using the same falloff as ``VideoNode/distanceWithPhoneChanged(distance:)``.","md":"docs/ligplayerkitscenekit/livestreamnode/distancewithphonechanged(distance:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiveStreamNode.streamPlaybackManager(_:playerReadyToPlay:)","decl":"@MainActor @preconcurrency func streamPlaybackManager(_ streamPlaybackManager: LiveStreamPlaybackManager, playerReadyToPlay player: AVPlayer)","doc":"Shows the stream on the plane (chroma-keyed if the object defines a hue angle), applies the double-sided setting, and starts playback, on the main actor.","md":"docs/ligplayerkitscenekit/livestreamnode/streamplaybackmanager(_:playerreadytoplay:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"LiveStreamNode.streamPlaybackManager(_:playerCurrentItemDidChange:)","decl":"@MainActor @preconcurrency func streamPlaybackManager(_ streamPlaybackManager: LiveStreamPlaybackManager, playerCurrentItemDidChange player: AVPlayer)","doc":"When the player's item becomes `nil` (the stream ended or failed), shows the preview image and schedules a reload of the stream URL after 60 seconds.","notes":["The material is changed on whatever thread the playback manager calls from, not explicitly on the main actor, and the retry repeats every time the item becomes `nil`, including after ``SceneKitContext/streamEnded(ids:)``."],"md":"docs/ligplayerkitscenekit/livestreamnode/streamplaybackmanager(_:playercurrentitemdidchange:).md"},{"kind":"function","module":"LiGPlayerKitSceneKit","name":"installSceneKitGameMessageHandler()","decl":"@MainActor func installSceneKitGameMessageHandler()","doc":"Installs the SceneKit default handler for multiplayer game messages.","notes":["The SDK never calls this function itself (ios-player-sdk#2). Unless the host calls it, no default handler is installed and every message, including `custom_action`, `show_object` and `hide_object`, goes to the client's delegate, which by default is ``SceneKitContext``'s own ``SceneKitContext/serverDidSend(_:message:)``."],"md":"docs/ligplayerkitscenekit/installscenekitgamemessagehandler().md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.liGId","decl":"@MainActor @preconcurrency var liGId: Int { get }","doc":"The AR object id; `-1` when the node has no ``arObject`` (floor and light nodes, or after ``destroy()``).","md":"docs/ligplayerkitscenekit/ligbasenode/ligid.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGBaseNode.liGName","decl":"@MainActor @preconcurrency var liGName: String { get }","doc":"The AR object id as a string (`\"0\"` if the object has no id); empty when the node has no ``arObject``.","md":"docs/ligplayerkitscenekit/ligbasenode/ligname.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.findTarget(id:)","decl":"@MainActor func findTarget(id: Int) -> (any LiGActionTarget)?","doc":"Returns the LiG node for an AR object id.","md":"docs/ligplayerkitscenekit/scenekitcontext/findtarget(id:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.switchToScene(sceneId:reposition:)","decl":"@MainActor func switchToScene(sceneId: String, reposition: Bool) async throws","doc":"Switches to another scene; calls ``SceneKitContext/loadSceneObjects(sceneId:reposition:transform:lang:token:)`` with no transform, language or token.","md":"docs/ligplayerkitscenekit/scenekitcontext/switchtoscene(sceneid:reposition:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.popToFormerScene()","decl":"@MainActor func popToFormerScene() async throws","doc":"Reloads the scene that was showing before the last scene switch.","md":"docs/ligplayerkitscenekit/scenekitcontext/poptoformerscene().md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.postGameEvent(arObjectID:)","decl":"@MainActor func postGameEvent(arObjectID: Int) async throws","doc":"Reports a game interaction; calls ``SceneKitContext/postGameApi(arObjectID:)``.","notes":["Although this method is main-actor isolated, `postGameApi` is not, so ``SceneKitContextDelegate/gameTypeAction(gameType:value:)`` is still called off the main thread."],"md":"docs/ligplayerkitscenekit/scenekitcontext/postgameevent(arobjectid:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.emitNonLiGAction(objectID:action:)","decl":"@MainActor func emitNonLiGAction(objectID: Int, action: Action)","doc":"Hands an action the SDK does not implement to the host, by calling ``SceneKitContextDelegate/nodeDidCallNonLiGAction(objectID:action:)`` synchronously on the main actor.","md":"docs/ligplayerkitscenekit/scenekitcontext/emitnonligaction(objectid:action:).md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.cameraWorldTransform","decl":"@MainActor var cameraWorldTransform: simd_float4x4? { get }","doc":"The camera's world transform, from the scene view's point of view.","md":"docs/ligplayerkitscenekit/scenekitcontext/cameraworldtransform.md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.openWebURL(_:authenticated:)","decl":"@MainActor func openWebURL(_ url: URL, authenticated: Bool)","doc":"Asks the host's ``SceneKitContext/webDelegate`` to open a URL.","notes":["Does nothing if ``SceneKitContext/webDelegate`` is `nil`; unlike the browser action, there is no fallback to the built-in ``NetworkView``."],"md":"docs/ligplayerkitscenekit/scenekitcontext/openweburl(_:authenticated:).md"},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SceneKitContext.postAIRequest(text:promptId:recommendationId:)","decl":"@MainActor func postAIRequest(text: String, promptId: Int, recommendationId: Int?) async throws -> AIResponseText?","doc":"Sends a question to the LiG AI chat API and returns the first reply.","md":"docs/ligplayerkitscenekit/scenekitcontext/postairequest(text:promptid:recommendationid:).md"},{"kind":"enum","module":"LiGPlayerKitSceneKit","name":"LiGPlayerSceneKitModule","decl":"enum LiGPlayerSceneKitModule","doc":"Namespace for metadata about the LiGPlayerKitSceneKit module.","md":"docs/ligplayerkitscenekit/ligplayerscenekitmodule.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"LiGPlayerSceneKitModule.version","decl":"static let version: String","static":true,"doc":"A hard-coded version string.","notes":["Not updated with releases; it still reads `\"2.0.2\"` in later package versions, so do not use it to identify the SDK build."],"md":"docs/ligplayerkitscenekit/ligplayerscenekitmodule/version.md"},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"Location.position","decl":"var position: SCNVector3 { get }","doc":"The location's `x`, `y`, `z` as an `SCNVector3`, in metres; a missing component is `0`."},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"Location.angle","decl":"var angle: SCNVector3 { get }","doc":"The location's `rotateX`, `rotateY`, `rotateZ` as an `SCNVector3`; a missing component is `0`.","notes":["The values are passed through unconverted. In scene data the rotation fields are degrees (``ArObject/eulerAngles`` converts them to radians), so assigning this to SceneKit `eulerAngles` for a decoded location gives the wrong rotation. The SDK's own caller (`MoveToFaceAction`) builds its `Location` from radians, so it is correct there."]},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"ArObject.position","decl":"var position: SCNVector3 { get }","doc":"The object's position as an `SCNVector3`, in metres; ``simdPosition`` converted."},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"ArObject.eulerAngles","decl":"var eulerAngles: SCNVector3 { get }","doc":"The object's rotation as SceneKit Euler angles, in radians (converted from the degrees in the location data); ``simdEulerAngles`` converted."},{"kind":"property","module":"LiGPlayerKitSceneKit","name":"ArObject.scale","decl":"var scale: SCNVector3 { get }","doc":"The object's scale as an `SCNVector3`; ``simdScale`` converted (`1` per axis when zoom is missing, and for any non-positive component)."},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SCNNode.setHighlighted(_:)","decl":"func setHighlighted(_ highlighted: Bool = true)","doc":"Turns the SDK's yellow glow on or off for this node and all of its descendants."},{"kind":"method","module":"LiGPlayerKitSceneKit","name":"SCNNode.highlighted()","decl":"func highlighted() -> Bool","doc":"Whether this node is marked to glow: its `categoryBitMask` is exactly `2`, as ``setHighlighted(_:)`` sets it."},{"kind":"class","module":"LiGPlayerKitRealityKit","name":"RealityKitContext","decl":"@MainActor @objc final class RealityKitContext","doc":"The RealityKit player: loads LiG scenes into an `ARView` as RealityKit entities, runs their actions, and reports to the host through ``delegate``.","md":"docs/ligplayerkitrealitykit/realitykitcontext.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.shared","decl":"@MainActor static let shared: RealityKitContext","static":true,"doc":"The shared context.","md":"docs/ligplayerkitrealitykit/realitykitcontext/shared.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.arView","decl":"@MainActor weak final var arView: ARView?","doc":"The view scenes are rendered into, held weakly.","md":"docs/ligplayerkitrealitykit/realitykitcontext/arview.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.delegate","decl":"@MainActor weak final var delegate: (any RealityKitContextDelegate)?","doc":"Receives taps, actions the SDK does not run itself, and load results; held weakly.","md":"docs/ligplayerkitrealitykit/realitykitcontext/delegate.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.uiProgress","decl":"@MainActor final var uiProgress: Progress","doc":"Loading progress for a host's progress bar.","md":"docs/ligplayerkitrealitykit/realitykitcontext/uiprogress.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.removeProgress","decl":"@MainActor final var removeProgress: (() -> Void)?","doc":"Called on the main actor when a loading bar can be dismissed.","md":"docs/ligplayerkitrealitykit/realitykitcontext/removeprogress.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.coordinateSystem","decl":"@MainActor final var coordinateSystem: CoordinateSystem? { get }","doc":"The coordinate system from the last successful ``loadCoordinateSystemFrom(lightId:accessToken:session:lang:)``.","md":"docs/ligplayerkitrealitykit/realitykitcontext/coordinatesystem.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.sceneObject","decl":"@MainActor final var sceneObject: SceneObject? { get }","doc":"The scene most recently loaded by ``loadScene(sceneId:accessToken:session:lang:)`` or ``startDownloadZip(with:forceRefresh:)``.","md":"docs/ligplayerkitrealitykit/realitykitcontext/sceneobject.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.userToken","decl":"@MainActor final var userToken: String? { get }","doc":"The member token from the last successful ``registerUser(userID:accessToken:)``.","md":"docs/ligplayerkitrealitykit/realitykitcontext/usertoken.md"},{"kind":"enum","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.ContextError","decl":"enum ContextError","doc":"Errors thrown by the cloud calls on ``RealityKitContext``.","md":"docs/ligplayerkitrealitykit/realitykitcontext/contexterror.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.ContextError.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitrealitykit/realitykitcontext/contexterror/localizeddescription.md"},{"kind":"operator","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.ContextError.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitrealitykit/realitykitcontext/contexterror/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.ContextError.buildUriError","decl":"case buildUriError","doc":"The request could not be built, or ``postGameApi(arObjectID:)`` was called before ``registerUser(userID:accessToken:)`` succeeded (no ``userToken``).","md":"docs/ligplayerkitrealitykit/realitykitcontext/contexterror/buildurierror.md"},{"kind":"case","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.ContextError.apiError","decl":"case apiError","doc":"The member server answered with a non-2xx status: thrown by ``registerUser(userID:accessToken:)``, ``postGameApi(arObjectID:)`` and ``postAIApi(text:promptId:recommendationId:)``.","md":"docs/ligplayerkitrealitykit/realitykitcontext/contexterror/apierror.md"},{"kind":"case","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.ContextError.noDataError","decl":"case noDataError","doc":"The response did not decode: thrown by ``loadScene(sceneId:accessToken:session:lang:)``, ``registerUser(userID:accessToken:)`` and ``postGameApi(arObjectID:)``.","md":"docs/ligplayerkitrealitykit/realitykitcontext/contexterror/nodataerror.md"},{"kind":"operator","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.ContextError.==(_:_:)","decl":"static func == (a: RealityKitContext.ContextError, b: RealityKitContext.ContextError) -> Bool","static":true,"md":"docs/ligplayerkitrealitykit/realitykitcontext/contexterror/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.ContextError.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitrealitykit/realitykitcontext/contexterror/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.ContextError.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitrealitykit/realitykitcontext/contexterror/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.run(arView:configuration:)","decl":"@MainActor final func run(arView: ARView, configuration: ARWorldTrackingConfiguration? = nil)","doc":"Starts the AR session of `arView` and makes the context drive it.","notes":["The per-frame work (distance-based visibility, proximity, look-at, billboard and cron-period triggers, the 360° panorama mode) runs in the context's `session(_:didUpdate:)`. A host that replaces `arView.session.delegate` stops all of it."],"md":"docs/ligplayerkitrealitykit/realitykitcontext/run(arview:configuration:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.setWorldOrigin(transform:)","decl":"@MainActor final func setWorldOrigin(transform: simd_float4x4)","doc":"Moves the AR world origin of ``arView``'s session by `transform`, relative to the current origin (`ARSession.setWorldOrigin(relativeTransform:)`).","md":"docs/ligplayerkitrealitykit/realitykitcontext/setworldorigin(transform:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.destroy()","decl":"@MainActor final func destroy()","doc":"Tears the context down for reuse: ``resetScene()``, then clears ``arView``, ``delegate``, ``userToken``, the access token, ``coordinateSystem``, ``sceneObject`` and the scene saved for the back-to-former-scene action.","md":"docs/ligplayerkitrealitykit/realitykitcontext/destroy().md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.resetScene()","decl":"@MainActor final func resetScene()","doc":"Removes the current scene's entities so another scene can be loaded.","md":"docs/ligplayerkitrealitykit/realitykitcontext/resetscene().md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.loadCoordinateSystemFrom(lightId:accessToken:session:lang:)","decl":"@MainActor final func loadCoordinateSystemFrom(lightId: Int, accessToken: String, session: URLSession? = nil, lang: String? = nil) async throws -> CoordinateSystem?","doc":"Fetch coordinate-system metadata (scene list, navigation graph, etc.) from `GET /api/v3/lights/{lightId}/scenes`.","md":"docs/ligplayerkitrealitykit/realitykitcontext/loadcoordinatesystemfrom(lightid:accesstoken:session:lang:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.loadScene(sceneId:accessToken:session:lang:)","decl":"@discardableResult @MainActor final func loadScene(sceneId: Int, accessToken: String? = nil, session: URLSession? = nil, lang: String? = nil) async throws -> SceneObject?","doc":"Fetch a single scene's full JSON via `GET /api/v3/scenes/:sceneId` and load each AR object as a USDZ `Entity`.","md":"docs/ligplayerkitrealitykit/realitykitcontext/loadscene(sceneid:accesstoken:session:lang:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.startDownloadZip(with:forceRefresh:)","decl":"@MainActor final func startDownloadZip(with urlStr: String?, forceRefresh: Bool = false)","doc":"Legacy zip-based loader: downloads the scene's `assets_url` ZIP, extracts it, and tries to load each `.usdz` asset from the extracted contents.","md":"docs/ligplayerkitrealitykit/realitykitcontext/startdownloadzip(with:forcerefresh:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.registerUser(userID:accessToken:)","decl":"@MainActor final func registerUser(userID: String, accessToken: String) async throws","doc":"Register a user against the member API.","md":"docs/ligplayerkitrealitykit/realitykitcontext/registeruser(userid:accesstoken:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.postAIApi(text:promptId:recommendationId:)","decl":"@MainActor final func postAIApi(text: String, promptId: Int, recommendationId: Int?) async throws -> AIResponseText?","doc":"`POST https://bot.lig.com.tw/api/v1/chats` with the transcribed AI question, decode the `AIResponse`, fire the `aiResponseListDidFetched` delegate, and return the first `AIResponseText` so the caller can drive `AIAudioSpeaker.speak(content:)`.","md":"docs/ligplayerkitrealitykit/realitykitcontext/postaiapi(text:promptid:recommendationid:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.getSessionId()","decl":"@MainActor final func getSessionId() -> String","doc":"Lazy AI session id.","md":"docs/ligplayerkitrealitykit/realitykitcontext/getsessionid().md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.postGameApi(arObjectID:)","decl":"@MainActor final func postGameApi(arObjectID: Int) async throws","doc":"`POST /api/v3/games` with the AR-object id, decode the `GameResponse`, and forward it to the host delegate.","md":"docs/ligplayerkitrealitykit/realitykitcontext/postgameapi(arobjectid:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.loadEntity(id:usdzURL:)","decl":"@discardableResult @MainActor final func loadEntity(id: String, usdzURL: URL) async throws -> Entity","doc":"Loads the USDZ file at `usdzURL` into a new entity named `id`.","md":"docs/ligplayerkitrealitykit/realitykitcontext/loadentity(id:usdzurl:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.entity(id:)","decl":"@MainActor final func entity(id: String) -> Entity?","doc":"The entity of the loaded AR object whose id is `id`.","md":"docs/ligplayerkitrealitykit/realitykitcontext/entity(id:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.setVisibility(id:isVisible:)","decl":"@MainActor final func setVisibility(id: String, isVisible: Bool)","doc":"Shows or hides the loaded AR object whose id is `id` by setting its entity's `isEnabled`.","notes":["While the AR session runs, the per-frame visibility pass sets `isEnabled` again for every loaded object on the next frame, from the object's hidden, always-visible and transparency settings and its visible distance, so the change does not last (ios-player-sdk#11)."],"md":"docs/ligplayerkitrealitykit/realitykitcontext/setvisibility(id:isvisible:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.remove(id:)","decl":"@MainActor final func remove(id: String)","doc":"Removes the loaded AR object whose id is `id` from the view and forgets it.","md":"docs/ligplayerkitrealitykit/realitykitcontext/remove(id:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.deriveUSDZURL(from:)","decl":"@MainActor static func deriveUSDZURL(from textureUrl: String) -> String?","static":true,"doc":"Resolve a renderable USDZ URL from an AR-object texture URL.","md":"docs/ligplayerkitrealitykit/realitykitcontext/deriveusdzurl(from:).md"},{"kind":"protocol","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate","decl":"@MainActor protocol RealityKitContextDelegate : AnyObject","doc":"Receives taps, unhandled actions and load results from ``RealityKitContext``.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate.md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:didTapEntity:id:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, didTapEntity entity: Entity, id: String)","doc":"Called when a tap hits an entity.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:didtapentity:id:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:didTapEmptySpaceAt:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, didTapEmptySpaceAt location: CGPoint)","doc":"Called when a tap hits no entity.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:didtapemptyspaceat:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:didCallNonLiGAction:action:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, didCallNonLiGAction objectID: Int, action: Action)","doc":"Fired when an action with an id the SDK doesn't natively handle reaches the dispatcher (e.g.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:didcallnonligaction:action:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:gameTypeAction:value:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, gameTypeAction gameType: GameType, value: GameResponse)","doc":"Fired after a successful `POST /api/v3/games` (triggered by `GameAction`, id 27).","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:gametypeaction:value:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:openWebRequest:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, openWebRequest request: URLRequest)","doc":"Fired by `BrowserAction` (id 8 `openWeb` / id 41 `gooleMap`).","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:openwebrequest:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:aiResponseListDidFetched:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, aiResponseListDidFetched list: [AIResponseText])","doc":"Fired after a successful `postAIApi` round-trip (triggered by `CallAIAction`, id 39).","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:airesponselistdidfetched:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:didFailToLoadScene:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, didFailToLoadScene error: SceneLoadError)","doc":"Fired once, in place of a successful load, when the scene-load pipeline fails — the download, the archive, or `scene.json` itself.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:didfailtoloadscene:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:sceneLoadServedFromCache:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, sceneLoadServedFromCache: Bool)","doc":"Fired once per `startDownloadZip` call, before the scene attaches, reporting whether that load's scene ZIP was served from the on-disk cache (`true`) or freshly downloaded (`false`) — the field- verification signal for the scene-ZIP cache: scan twice, watch for a hit on the second scan.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:sceneloadservedfromcache:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:didTapEntity:id:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, didTapEntity entity: Entity, id: String)","doc":"Called when a tap hits an entity.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:didtapentity:id:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:didTapEmptySpaceAt:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, didTapEmptySpaceAt location: CGPoint)","doc":"Called when a tap hits no entity.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:didtapemptyspaceat:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:didCallNonLiGAction:action:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, didCallNonLiGAction objectID: Int, action: Action)","doc":"Fired when an action with an id the SDK doesn't natively handle reaches the dispatcher (e.g.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:didcallnonligaction:action:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:gameTypeAction:value:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, gameTypeAction gameType: GameType, value: GameResponse)","doc":"Fired after a successful `POST /api/v3/games` (triggered by `GameAction`, id 27).","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:gametypeaction:value:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:openWebRequest:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, openWebRequest request: URLRequest)","doc":"Fired by `BrowserAction` (id 8 `openWeb` / id 41 `gooleMap`).","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:openwebrequest:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:aiResponseListDidFetched:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, aiResponseListDidFetched list: [AIResponseText])","doc":"Fired after a successful `postAIApi` round-trip (triggered by `CallAIAction`, id 39).","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:airesponselistdidfetched:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContextDelegate.realityKitContext(_:sceneLoadServedFromCache:)","decl":"@MainActor func realityKitContext(_ context: RealityKitContext, sceneLoadServedFromCache: Bool)","doc":"Fired once per `startDownloadZip` call, before the scene attaches, reporting whether that load's scene ZIP was served from the on-disk cache (`true`) or freshly downloaded (`false`) — the field- verification signal for the scene-ZIP cache: scan twice, watch for a hit on the second scan.","md":"docs/ligplayerkitrealitykit/realitykitcontextdelegate/realitykitcontext(_:sceneloadservedfromcache:).md"},{"kind":"enum","module":"LiGPlayerKitRealityKit","name":"LiGPlayerRealityKitModule","decl":"enum LiGPlayerRealityKitModule","doc":"Namespace for metadata about the LiGPlayerKitRealityKit module.","md":"docs/ligplayerkitrealitykit/ligplayerrealitykitmodule.md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"LiGPlayerRealityKitModule.version","decl":"static let version: String","static":true,"doc":"A hard-coded version string.","notes":["Not updated with releases; it still reads `\"2.0.3\"` in later package versions, so do not use it to identify the SDK build (ios-player-sdk#4)."],"md":"docs/ligplayerkitrealitykit/ligplayerrealitykitmodule/version.md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.findTarget(id:)","decl":"@MainActor final func findTarget(id: Int) -> (any LiGActionTarget)?","doc":"Look up an entity by AR-object id.","md":"docs/ligplayerkitrealitykit/realitykitcontext/findtarget(id:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.switchToScene(sceneId:reposition:)","decl":"@MainActor final func switchToScene(sceneId: String, reposition: Bool) async throws","doc":"Switch to a different cloud scene.","md":"docs/ligplayerkitrealitykit/realitykitcontext/switchtoscene(sceneid:reposition:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.popToFormerScene()","decl":"@MainActor final func popToFormerScene() async throws","doc":"Replay the saved world-origin transform and load the saved scene id.","md":"docs/ligplayerkitrealitykit/realitykitcontext/poptoformerscene().md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.emitNonLiGAction(objectID:action:)","decl":"@MainActor final func emitNonLiGAction(objectID: Int, action: Action)","doc":"Routes through the renderer's delegate, mirroring SceneKit's `callNonLiGAction(objID:model:)` → `SceneKitContextDelegate.nodeDidCallNonLiGAction`.","md":"docs/ligplayerkitrealitykit/realitykitcontext/emitnonligaction(objectid:action:).md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.cameraWorldTransform","decl":"@MainActor final var cameraWorldTransform: simd_float4x4? { get }","doc":"RealityKit's `ARView.cameraTransform` is the live camera-pose accessor; just unwrap its matrix.","md":"docs/ligplayerkitrealitykit/realitykitcontext/cameraworldtransform.md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.postGameEvent(arObjectID:)","decl":"@MainActor final func postGameEvent(arObjectID: Int) async throws","doc":"Bridges the protocol's `postGameEvent(arObjectID:)` to the public `postGameApi(arObjectID:)` — auth, HTTP, decoding, and `RealityKitContextDelegate.gameTypeAction` dispatch all live inside `RealityKitContext`.","md":"docs/ligplayerkitrealitykit/realitykitcontext/postgameevent(arobjectid:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.openWebURL(_:authenticated:)","decl":"@MainActor final func openWebURL(_ url: URL, authenticated: Bool)","doc":"Build a `URLRequest` (with `Bearer <userToken>` when `authenticated == true`) and forward it to the host through `RealityKitContextDelegate.openWebRequest`.","md":"docs/ligplayerkitrealitykit/realitykitcontext/openweburl(_:authenticated:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.postAIRequest(text:promptId:recommendationId:)","decl":"@MainActor final func postAIRequest(text: String, promptId: Int, recommendationId: Int?) async throws -> AIResponseText?","doc":"Bridges the protocol's AI request to the renderer's internal `postAIApi(text:promptId:recommendationId:)`.","md":"docs/ligplayerkitrealitykit/realitykitcontext/postairequest(text:promptid:recommendationid:).md"},{"kind":"enum","module":"LiGPlayerKitRealityKit","name":"RKActionFactory","decl":"enum RKActionFactory","doc":"Builds RealityKit-side `LiGAction` instances from cloud JSON.","md":"docs/ligplayerkitrealitykit/rkactionfactory.md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RKActionFactory.build(from:)","decl":"static func build(from config: Action) -> (any LiGAction)?","static":true,"doc":"Returns a `LiGAction` for the given config, or `nil` if the action id is unknown / not yet ported.","md":"docs/ligplayerkitrealitykit/rkactionfactory/build(from:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RKActionFactory.compileEvent(_:)","decl":"static func compileEvent(_ event: Event) -> LiGActionPlan?","static":true,"doc":"Compile every action in the given `Event` into a runnable `LiGActionPlan`.","md":"docs/ligplayerkitrealitykit/rkactionfactory/compileevent(_:).md"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"RealityKitContext.session(_:didUpdate:)","decl":"@MainActor final func session(_ session: ARSession, didUpdate frame: ARFrame)","doc":"Set internally by `run(arView:)`; the host app does NOT need to forward `session(_:didUpdate:)` — we own the delegate.","md":"docs/ligplayerkitrealitykit/realitykitcontext/session(_:didupdate:).md"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.transform","decl":"@MainActor @preconcurrency var transform: Transform { get set }"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.scale","decl":"@MainActor @preconcurrency var scale: SIMD3<Float> { get set }"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.scale(relativeTo:)","decl":"@MainActor @preconcurrency func scale(relativeTo referenceEntity: Entity?) -> SIMD3<Float>"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.setScale(_:relativeTo:)","decl":"@MainActor @preconcurrency func setScale(_ scale: SIMD3<Float>, relativeTo referenceEntity: Entity?)"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.position","decl":"@MainActor @preconcurrency var position: SIMD3<Float> { get set }"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.position(relativeTo:)","decl":"@MainActor @preconcurrency func position(relativeTo referenceEntity: Entity?) -> SIMD3<Float>"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.setPosition(_:relativeTo:)","decl":"@MainActor @preconcurrency func setPosition(_ position: SIMD3<Float>, relativeTo referenceEntity: Entity?)"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.orientation","decl":"@MainActor @preconcurrency var orientation: simd_quatf { get set }"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.orientation(relativeTo:)","decl":"@MainActor @preconcurrency func orientation(relativeTo referenceEntity: Entity?) -> simd_quatf"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.setOrientation(_:relativeTo:)","decl":"@MainActor @preconcurrency func setOrientation(_ orientation: simd_quatf, relativeTo referenceEntity: Entity?)"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.transformMatrix(relativeTo:)","decl":"@MainActor @preconcurrency func transformMatrix(relativeTo referenceEntity: Entity?) -> float4x4"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.setTransformMatrix(_:relativeTo:)","decl":"@MainActor @preconcurrency func setTransformMatrix(_ transform: float4x4, relativeTo referenceEntity: Entity?)"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.convert(position:from:)","decl":"@MainActor @preconcurrency func convert(position: SIMD3<Float>, from referenceEntity: Entity?) -> SIMD3<Float>"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.convert(direction:from:)","decl":"@MainActor @preconcurrency func convert(direction: SIMD3<Float>, from referenceEntity: Entity?) -> SIMD3<Float>"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.convert(normal:from:)","decl":"@MainActor @preconcurrency func convert(normal: SIMD3<Float>, from referenceEntity: Entity?) -> SIMD3<Float>"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.convert(transform:from:)","decl":"@MainActor @preconcurrency func convert(transform: Transform, from referenceEntity: Entity?) -> Transform"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.convert(position:to:)","decl":"@MainActor @preconcurrency func convert(position: SIMD3<Float>, to referenceEntity: Entity?) -> SIMD3<Float>"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.convert(direction:to:)","decl":"@MainActor @preconcurrency func convert(direction: SIMD3<Float>, to referenceEntity: Entity?) -> SIMD3<Float>"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.convert(normal:to:)","decl":"@MainActor @preconcurrency func convert(normal: SIMD3<Float>, to referenceEntity: Entity?) -> SIMD3<Float>"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.convert(transform:to:)","decl":"@MainActor @preconcurrency func convert(transform: Transform, to referenceEntity: Entity?) -> Transform"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.look(at:from:upVector:relativeTo:)","decl":"@MainActor @preconcurrency func look(at target: SIMD3<Float>, from position: SIMD3<Float>, upVector: SIMD3<Float> = SIMD3<Float>(0, 1, 0), relativeTo referenceEntity: Entity?)"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.look(at:from:upVector:relativeTo:forward:)","decl":"@MainActor @preconcurrency func look(at target: SIMD3<Float>, from position: SIMD3<Float>, upVector: SIMD3<Float> = SIMD3<Float>(0, 1, 0), relativeTo referenceEntity: Entity?, forward: Entity.ForwardDirection = .negativeZ)"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.move(to:relativeTo:)","decl":"@MainActor @preconcurrency func move(to transform: Transform, relativeTo referenceEntity: Entity?)"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.move(to:relativeTo:)","decl":"@MainActor @preconcurrency func move(to transform: float4x4, relativeTo referenceEntity: Entity?)"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.move(to:relativeTo:duration:timingFunction:)","decl":"@discardableResult @MainActor @preconcurrency func move(to target: Transform, relativeTo referenceEntity: Entity?, duration: TimeInterval, timingFunction: AnimationTimingFunction = .default) -> AnimationPlaybackController"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.move(to:relativeTo:duration:timingFunction:)","decl":"@discardableResult @MainActor @preconcurrency func move(to target: float4x4, relativeTo referenceEntity: Entity?, duration: TimeInterval, timingFunction: AnimationTimingFunction = .default) -> AnimationPlaybackController"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.visualBounds(recursive:relativeTo:excludeInactive:)","decl":"@MainActor @preconcurrency func visualBounds(recursive: Bool = true, relativeTo referenceEntity: Entity?, excludeInactive: Bool = false) -> BoundingBox"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.align(_:to:)","decl":"@discardableResult @MainActor @preconcurrency func align(_ originPin: GeometricPin, to targetPin: GeometricPin) -> float4x4?"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.parent","decl":"@MainActor @preconcurrency var parent: Entity? { get }"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.setParent(_:preservingWorldTransform:)","decl":"@MainActor @preconcurrency func setParent(_ parent: Entity?, preservingWorldTransform: Bool = false)"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.children","decl":"@MainActor @preconcurrency var children: Entity.ChildCollection { get set }"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.addChild(_:preservingWorldTransform:)","decl":"@MainActor @preconcurrency func addChild(_ entity: Entity, preservingWorldTransform: Bool = false)"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.removeChild(_:preservingWorldTransform:)","decl":"@MainActor @preconcurrency func removeChild(_ entity: Entity, preservingWorldTransform: Bool = false)"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.removeFromParent(preservingWorldTransform:)","decl":"@MainActor @preconcurrency func removeFromParent(preservingWorldTransform: Bool = false)"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.synchronization","decl":"@MainActor @preconcurrency var synchronization: SynchronizationComponent? { get set }"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.isOwner","decl":"@MainActor @preconcurrency var isOwner: Bool { get }"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.requestOwnership(timeout:_:)","decl":"@MainActor @preconcurrency func requestOwnership(timeout: TimeInterval = 15, _ callback: @escaping (SynchronizationComponent.OwnershipTransferCompletionResult) -> Void)"},{"kind":"method","module":"LiGPlayerKitRealityKit","name":"Entity.withUnsynchronized(_:)","decl":"@MainActor @preconcurrency func withUnsynchronized(_ changes: () -> Void)"},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.liGId","decl":"@MainActor @preconcurrency var liGId: Int { get }","doc":"The AR object's stable id from the cloud JSON."},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.liGName","decl":"@MainActor @preconcurrency var liGName: String { get }","doc":"AR-object name."},{"kind":"property","module":"LiGPlayerKitRealityKit","name":"Entity.isActionEnable","decl":"@MainActor @preconcurrency var isActionEnable: Bool { get set }","doc":"Re-entry gate for long-running actions (notably `CallApiAction`)."},{"kind":"enum","module":"LiGPlayerKitMultiplayer","name":"LiGPlayerMultiplayerModule","decl":"enum LiGPlayerMultiplayerModule","doc":"Namespace for metadata about the LiGPlayerKitMultiplayer module.","md":"docs/ligplayerkitmultiplayer/ligplayermultiplayermodule.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"LiGPlayerMultiplayerModule.version","decl":"static let version: String","static":true,"doc":"A hard-coded version string.","notes":["Not updated with releases; it still reads `\"2.0.2\"` in later package versions, so do not use it to identify the SDK build (ios-player-sdk#4)."],"md":"docs/ligplayerkitmultiplayer/ligplayermultiplayermodule/version.md"},{"kind":"protocol","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate","decl":"protocol StagingControllerClientDelegate : AnyObject","doc":"Receives Socket.IO events from ``StagingControllerClient``.","notes":["Events whose payload does not parse are dropped, some with a printed message and some silently; an event with an empty payload traps on reading its first element (ios-player-sdk#12)."],"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate.md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.clientDidConnect(_:)","decl":"func clientDidConnect(_ client: StagingControllerClient)","doc":"Called when the socket connects (Socket.IO `connect` client event).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/clientdidconnect(_:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.clientDidDisconnect(_:)","decl":"func clientDidDisconnect(_ client: StagingControllerClient)","doc":"Called when the socket disconnects (Socket.IO `disconnect` client event).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/clientdiddisconnect(_:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.clientDidHostRoom(_:room:)","decl":"func clientDidHostRoom(_ client: StagingControllerClient, room: StagingControllerClient.Room)","doc":"Called on `event::room/host` with the hosted room.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/clientdidhostroom(_:room:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.clientDidCloseRoom(_:roomId:)","decl":"func clientDidCloseRoom(_ client: StagingControllerClient, roomId: Int)","doc":"Called on `event::room/close` with the closed room's `room_id`.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/clientdidcloseroom(_:roomid:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.clientDidJoin(_:participant:)","decl":"func clientDidJoin(_ client: StagingControllerClient, participant: StagingControllerClient.Room.Participant)","doc":"Called on `event::participant/join` with the participant who joined.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/clientdidjoin(_:participant:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.clientDidLeave(_:participantId:)","decl":"func clientDidLeave(_ client: StagingControllerClient, participantId: Int)","doc":"Called on `event::participant/leave` with the leaving participant's id.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/clientdidleave(_:participantid:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.clientParticipantDidUpdate(_:participant:)","decl":"func clientParticipantDidUpdate(_ client: StagingControllerClient, participant: StagingControllerClient.Room.Participant)","doc":"Called on `event::participant/update` with the updated participant.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/clientparticipantdidupdate(_:participant:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.clientDidStart(_:)","decl":"func clientDidStart(_ client: StagingControllerClient)","doc":"Called on `event::game/start`.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/clientdidstart(_:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.clientDidStop(_:)","decl":"func clientDidStop(_ client: StagingControllerClient)","doc":"Called on `event::game/stop`.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/clientdidstop(_:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.serverDidSend(_:message:)","decl":"func serverDidSend(_ client: StagingControllerClient, message: StagingControllerClient.GameMessage)","doc":"Called on `event::game/update` unless ``StagingControllerClient/defaultGameMessageHandler`` returned `true` for the message.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/serverdidsend(_:message:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClientDelegate.gameServiceGameState(_:game:userCount:state:)","decl":"func gameServiceGameState(_ client: StagingControllerClient, game: StagingControllerClient, userCount: Int, state: [StagingControllerClient.UserState])","doc":"Called on `event::game/state` with every participant's latest pose.","notes":["A packet whose first byte (user count) is `0` crashes the client before this method is called (it iterates `0 ... userCount - 1`), and a packet shorter than `1 + 124 × userCount` bytes traps on an out-of-range read (ios-player-sdk#12)."],"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclientdelegate/gameservicegamestate(_:game:usercount:state:).md"},{"kind":"class","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient","decl":"class StagingControllerClient","doc":"Socket.IO client for the LiG multiplayer (\"staging controller\") service.","notes":["Only ``version()`` has a timeout (5 seconds); every other request waits for its acknowledgement indefinitely. Every request except ``version()`` and ``hostRoom(_:_:_:)`` also emits without checking the connection: Socket.IO then drops the emit and raises an `error` event, which makes this client disconnect. If the socket is or becomes disconnected before the acknowledgement, the `await` never returns. All requests emit off the Socket.IO handle queue (the `async` methods run on the global executor; ``sendUpdate(id:url:)`` additionally hops to a private serial queue), although Socket.IO requires handle-queue access (ios-player-sdk#12)."],"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.defaultGameMessageHandler","decl":"static var defaultGameMessageHandler: ((StagingControllerClient.GameMessage) -> Bool)?","static":true,"doc":"An optional handler that sees every `event::game/update` message before the delegate.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/defaultgamemessagehandler.md"},{"kind":"enum","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError","decl":"enum ResultError","doc":"Failure reasons returned by the client's request methods.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.failureReason","decl":"var failureReason: String? { get }","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/failurereason.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.recoverySuggestion","decl":"var recoverySuggestion: String? { get }","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/recoverysuggestion.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.helpAnchor","decl":"var helpAnchor: String? { get }","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/helpanchor.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.localizedDescription","decl":"var localizedDescription: String { get }","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/localizeddescription.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.connectTimeout","decl":"case connectTimeout","doc":"Declared but never produced by this client.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/connecttimeout.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.connectError","decl":"case connectError","doc":"The socket was not connected (returned only by ``StagingControllerClient/version()`` and ``StagingControllerClient/hostRoom(_:_:_:)``).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/connecterror.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.invalidResponseData","decl":"case invalidResponseData","doc":"The acknowledgement was not the expected event or its payload was malformed.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/invalidresponsedata.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.invalidRequestData(_:_:)","decl":"case invalidRequestData(Int, String)","doc":"The server answered with a 4xx status code and description.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/invalidrequestdata(_:_:).md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.internalServerError(_:_:)","decl":"case internalServerError(Int, String)","doc":"The server answered with a 5xx status code and description.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/internalservererror(_:_:).md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.unknownError(_:_:)","decl":"case unknownError(Int, String)","doc":"The server answered with a non-2xx status outside 400–599.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/unknownerror(_:_:).md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.ResultError.errorDescription","decl":"var errorDescription: String? { get }","doc":"A short English description, including the status code and description when present.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/resulterror/errordescription.md"},{"kind":"struct","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.UploadExtenedState","decl":"struct UploadExtenedState","doc":"The 64-byte \"extended state\" block appended to each pose upload.","notes":["It has no public initializer or public members, and the uploader that uses it is internal and not called anywhere in the SDK, so host code cannot use it."],"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/uploadextenedstate.md"},{"kind":"struct","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.UploadExtenedState.Message","decl":"struct Message","doc":"The optional peer message embedded in an ``UploadExtenedState`` (no public members).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/uploadextenedstate/message.md"},{"kind":"struct","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room","decl":"struct Room","doc":"A multiplayer room, decoded from the server's room payload.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room.md"},{"kind":"struct","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Game","decl":"struct Game","doc":"The game a room plays (`game` in the payload).","notes":["Its `id` and `name` are internal, so code outside the module cannot read them."]},{"kind":"struct","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant","decl":"struct Participant","doc":"A room participant.","notes":["Its `id`, `name` and `role` are internal, so code outside the module cannot read them; delegate callbacks that pass a participant are effectively opaque to host code."],"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant.md"},{"kind":"enum","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role","decl":"enum Role","doc":"A participant's role in a room; the raw value is the wire string.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role/hash(into:).md"},{"kind":"operator","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role/!=(_:_:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.makeFromRawAttachmentValue(_:)","decl":"static func makeFromRawAttachmentValue(_ repr: CVAttachmentRawValue) -> Self?","static":true,"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role/makefromrawattachmentvalue(_:).md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.rawAttachmentValueRepresentation","decl":"var rawAttachmentValueRepresentation: CVAttachmentRawValue { get }","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role/rawattachmentvaluerepresentation.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.owner","decl":"case owner","doc":"The room's host (`\"OWNER\"`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role/owner.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.player","decl":"case player","doc":"A playing participant (`\"PLAYER\"`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role/player.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.guest","decl":"case guest","doc":"A spectator (`\"GUEST\"`); also the fallback when the payload has no role.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role/guest.md"},{"kind":"init","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.init(rawValue:)","decl":"init?(rawValue: String)","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participant/role/init(rawvalue:).md"},{"kind":"typealias","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.RawValue","decl":"typealias RawValue = String"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.Participant.Role.rawValue","decl":"var rawValue: String { get }"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.id","decl":"var id: UInt","doc":"The room id (`id`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/id.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.name","decl":"var name: String","doc":"The room name (`name`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/name.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.maxUserCount","decl":"var maxUserCount: UInt","doc":"Maximum number of participants (`max_user_count`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/maxusercount.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.currentUserCount","decl":"var currentUserCount: UInt","doc":"Current number of participants (`current_user_count`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/currentusercount.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.isFull","decl":"var isFull: Bool","doc":"Whether the room is full (`is_full`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/isfull.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.game","decl":"var game: StagingControllerClient.Room.Game","doc":"The game played in the room (`game`)."},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.Room.participants","decl":"var participants: [StagingControllerClient.Room.Participant]","doc":"The decodable entries of `participants`.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/room/participants.md"},{"kind":"struct","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.UserState","decl":"struct UserState","doc":"One participant's entry in an `event::game/state` packet.","notes":["All fields are internal, so code outside the module cannot read them."],"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/userstate.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.delegate","decl":"var delegate: (any StagingControllerClientDelegate)?","doc":"Receives the client's Socket.IO events.","notes":["This is a strong reference, unlike the usual weak delegate; set it to `nil` to release the delegate (ios-player-sdk#12)."],"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/delegate.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.token","decl":"var token: String?","doc":"The auth token sent as `token` in the connect payload; set it before ``connect()``.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/token.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.shared","decl":"static let shared: StagingControllerClient","static":true,"doc":"The shared client.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/shared.md"},{"kind":"enum","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameStatus","decl":"enum GameStatus","doc":"The client's game state as tracked locally from request acknowledgements.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestatus.md"},{"kind":"operator","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameStatus.!=(_:_:)","decl":"static func != (lhs: borrowing Self, rhs: borrowing Self) -> Bool","static":true,"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestatus/!=(_:_:).md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameStatus.initial","decl":"case initial","doc":"No game has started.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestatus/initial.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameStatus.start","decl":"case start","doc":"Set after a successful join, game start or object-clicked update.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestatus/start.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameStatus.stop","decl":"case stop","doc":"Set after a successful ``StagingControllerClient/gameStop()``.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestatus/stop.md"},{"kind":"case","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameStatus.over","decl":"case over","doc":"Declared but never set by this client.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestatus/over.md"},{"kind":"operator","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameStatus.==(_:_:)","decl":"static func == (a: StagingControllerClient.GameStatus, b: StagingControllerClient.GameStatus) -> Bool","static":true,"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestatus/==(_:_:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameStatus.hash(into:)","decl":"func hash(into hasher: inout Hasher)","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestatus/hash(into:).md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameStatus.hashValue","decl":"var hashValue: Int { get }","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestatus/hashvalue.md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.connect()","decl":"func connect()","doc":"Connects to the multiplayer server, sending ``token`` in the connect payload.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/connect().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.disconnect()","decl":"func disconnect()","doc":"Disconnects the socket.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/disconnect().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.isConnected()","decl":"func isConnected() -> Bool","doc":"Returns whether the socket's status is connected.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/isconnected().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.version()","decl":"func version() async -> Result<String, StagingControllerClient.ResultError>","doc":"Queries the server version (`query::system/version`).","notes":["The request times out after 5 seconds, but on timeout Socket.IO calls back with a single-element array and the method reads index 1, which traps; a timed-out version query crashes the app (ios-player-sdk#12)."],"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/version().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.listRoom()","decl":"func listRoom() async -> Result<[StagingControllerClient.Room], StagingControllerClient.ResultError>","doc":"Lists the server's rooms (`query::room/list`).","notes":["Waits with no timeout and does not check the connection (see ``StagingControllerClient``). A successful acknowledgement without a `rooms` array crashes (force cast), and a room that fails to decode resumes the continuation twice (failure, then success), which is a runtime trap (ios-player-sdk#12)."],"md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/listroom().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.hostRoom(_:_:_:)","decl":"func hostRoom(_ roomName: String, _ gameId: UInt, _ maxUserCount: UInt) async -> Result<(Int, Int), StagingControllerClient.ResultError>","doc":"Hosts a new room (`action::room/host`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/hostroom(_:_:_:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.joinRoom(_:_:)","decl":"func joinRoom(_ roomId: UInt, _ participantRole: StagingControllerClient.Room.Participant.Role = .player) async -> Result<Int, StagingControllerClient.ResultError>","doc":"Joins a room (`action::room/join`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/joinroom(_:_:).md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.leaveRoom()","decl":"func leaveRoom() async -> Result<Void, StagingControllerClient.ResultError>","doc":"Leaves the current room (`action::room/leave`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/leaveroom().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.closeRoom()","decl":"func closeRoom() async -> Result<Void, StagingControllerClient.ResultError>","doc":"Closes the current room (`action::room/close`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/closeroom().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.roomInformation()","decl":"func roomInformation() async -> Result<StagingControllerClient.Room, StagingControllerClient.ResultError>","doc":"Fetches the current room (`query::room/info`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/roominformation().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.gameStart()","decl":"func gameStart() async -> Result<Void, StagingControllerClient.ResultError>","doc":"Starts the game in the current room (`action::game/start`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestart().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.gameStop()","decl":"func gameStop() async -> Result<Void, StagingControllerClient.ResultError>","doc":"Stops the game in the current room (`action::game/stop`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamestop().md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.sendUpdate(id:url:)","decl":"func sendUpdate(id: Int, url: String?) async -> Result<Int, StagingControllerClient.ResultError>","doc":"Reports an object click to the room (`action::game/obj_clicked`).","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/sendupdate(id:url:).md"},{"kind":"struct","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameMessage","decl":"struct GameMessage","doc":"A game message pushed by the multiplayer server on the `event::game/update` event.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamemessage.md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameMessage.rawData","decl":"let rawData: [String : Any]","doc":"The message payload exactly as decoded from the Socket.IO event.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamemessage/rawdata.md"},{"kind":"method","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameMessage.build(data:)","decl":"static func build(data: [String : Any]) -> StagingControllerClient.GameMessage","static":true,"doc":"Wraps a decoded payload in a message.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamemessage/build(data:).md"},{"kind":"property","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameMessage.action","decl":"var action: String? { get }","doc":"The payload's `action` value, or `nil` if it is missing or not a string.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamemessage/action.md"},{"kind":"subscript","module":"LiGPlayerKitMultiplayer","name":"StagingControllerClient.GameMessage.subscript(_:)","decl":"subscript(index: String) -> String? { get }","doc":"Returns the payload value for `index` if it is a string.","md":"docs/ligplayerkitmultiplayer/stagingcontrollerclient/gamemessage/subscript(_:).md"}],"tokens":97490,"warnings":{"size":"index 97490 tokens > 2x public interface 24433"}}