UNPKG

nanogl-gltf

Version:
2,115 lines 1.65 MB
{ "id": 0, "name": "nanogl-gltf", "kind": 1, "flags": {}, "originalName": "", "children": [ { "id": 1, "name": "Gltf", "kind": 2, "kindString": "Module", "flags": {}, "children": [ { "id": 2, "name": "ElementCollection", "kind": 128, "kindString": "Class", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Collection of elements of a given type" } ] }, "children": [ { "id": 3, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { "id": 4, "name": "new ElementCollection", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { "id": 5, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", "id": 1924, "name": "AnyElement" }, "default": { "type": "reference", "id": 1924, "name": "AnyElement" } } ], "type": { "type": "reference", "id": 2, "typeArguments": [ { "type": "reference", "id": 5, "name": "T" } ], "name": "ElementCollection" } } ] }, { "id": 6, "name": "indexed", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Array of elements order by specified index" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 45, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L45" } ], "type": { "type": "array", "elementType": { "type": "reference", "id": 5, "name": "T" } }, "defaultValue": "[]" }, { "id": 7, "name": "list", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Array of elements ordered by push order" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 50, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L50" } ], "type": { "type": "array", "elementType": { "type": "reference", "id": 5, "name": "T" } }, "defaultValue": "[]" }, { "id": 8, "name": "addElement", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 57, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L57" } ], "signatures": [ { "id": 9, "name": "addElement", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Add an element to the collection" } ] }, "parameters": [ { "id": 10, "name": "element", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Element to add" } ] }, "type": { "type": "reference", "id": 5, "name": "T" } }, { "id": 11, "name": "index", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Index of the element, if -1 or not specified, will not be pushed to indexed array" } ] }, "type": { "type": "intrinsic", "name": "number" }, "defaultValue": "-1" } ], "type": { "type": "intrinsic", "name": "void" } } ] } ], "groups": [ { "title": "Constructors", "children": [ 3 ] }, { "title": "Properties", "children": [ 6, 7 ] }, { "title": "Methods", "children": [ 8 ] } ], "sources": [ { "fileName": "src/Gltf.ts", "line": 38, "character": 13, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L38" } ], "typeParameters": [ { "id": 12, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", "id": 1924, "name": "AnyElement" }, "default": { "type": "reference", "id": 1924, "name": "AnyElement" } } ] }, { "id": 19, "name": "Gltf", "kind": 128, "kindString": "Class", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Gltf file representation" } ] }, "originalName": "default", "children": [ { "id": 35, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 175, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L175" } ], "signatures": [ { "id": 36, "name": "new Gltf", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", "id": 19, "name": "default" } } ] }, { "id": 38, "name": "_collections", "kind": 1024, "kindString": "Property", "flags": { "isPrivate": true }, "comment": { "summary": [ { "kind": "text", "text": "Map of all elements of this Gltf, ordered in typed collections" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 143, "character": 10, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L143" } ], "type": { "type": "reference", "typeArguments": [ { "type": "reference", "id": 2435, "name": "GltfTypes" }, { "type": "reference", "id": 2, "typeArguments": [ { "type": "reference", "id": 1924, "name": "AnyElement" } ], "name": "ElementCollection" } ], "name": "Map", "qualifiedName": "Map", "package": "typescript" } }, { "id": 37, "name": "_elements", "kind": 1024, "kindString": "Property", "flags": { "isPrivate": true }, "comment": { "summary": [ { "kind": "text", "text": "Array of all elements of this Gltf, unordered" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 138, "character": 10, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L138" } ], "type": { "type": "array", "elementType": { "type": "reference", "id": 1924, "name": "AnyElement" } } }, { "id": 42, "name": "cameraInstances", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Array of all cameras of this Gltf, created as Camera from nanogl-camera" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 163, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L163" } ], "type": { "type": "array", "elementType": { "type": "reference", "typeArguments": [ { "type": "reference", "name": "ICameraLens", "qualifiedName": "ICameraLens", "package": "nanogl-camera" } ], "name": "default", "qualifiedName": "Camera", "package": "nanogl-camera" } } }, { "id": 43, "name": "depthPass", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Depth pass of this Gltf" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 168, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L168" } ], "type": { "type": "reference", "name": "default", "qualifiedName": "DepthPass", "package": "nanogl-pbr" } }, { "id": 44, "name": "extras", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Extras property of this Gltf (custom additional data that can be added to every gltf property)" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 173, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L173" } ], "type": { "type": "reference", "id": 13, "name": "GltfExtras" }, "defaultValue": "{}" }, { "id": 40, "name": "gl", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "GL context of this Gltf" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 153, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L153" } ], "type": { "type": "reference", "name": "GLContext", "qualifiedName": "GLContext", "package": "nanogl" } }, { "id": 41, "name": "renderables", "kind": 1024, "kindString": "Property", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Array of all renderables of this Gltf, created as MeshRenderer" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 158, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L158" } ], "type": { "type": "array", "elementType": { "type": "reference", "id": 1871, "name": "default" } } }, { "id": 39, "name": "root", "kind": 1024, "kindString": "Property", "flags": { "isReadonly": true }, "comment": { "summary": [ { "kind": "text", "text": "Root node of this Gltf" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 148, "character": 11, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L148" } ], "type": { "type": "reference", "name": "Node", "qualifiedName": "Node", "package": "nanogl-node" }, "defaultValue": "..." }, { "id": 20, "name": "_extensionsRegistry", "kind": 1024, "kindString": "Property", "flags": { "isPrivate": true, "isStatic": true }, "comment": { "summary": [ { "kind": "text", "text": "Static registry of activated extensions for all Gltf instances" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 82, "character": 17, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L82" } ], "type": { "type": "reference", "id": 1589, "name": "ExtensionsRegistry" }, "defaultValue": "..." }, { "id": 22, "name": "_renderConfig", "kind": 1024, "kindString": "Property", "flags": { "isPrivate": true, "isStatic": true }, "comment": { "summary": [ { "kind": "text", "text": "Static render config for all Gltf instances" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 92, "character": 17, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L92" } ], "type": { "type": "reference", "id": 121, "name": "default" }, "defaultValue": "..." }, { "id": 21, "name": "_semantics", "kind": 1024, "kindString": "Property", "flags": { "isPrivate": true, "isStatic": true }, "comment": { "summary": [ { "kind": "text", "text": "Static GLSL semantics' resolver for all Gltf instances" } ] }, "sources": [ { "fileName": "src/Gltf.ts", "line": 87, "character": 17, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L87" } ], "type": { "type": "reference", "id": 125, "name": "ISemantics" }, "defaultValue": "..." }, { "id": 55, "name": "accessors", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 267, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L267" } ], "getSignature": { "id": 56, "name": "accessors", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 222, "name": "default" } } } }, { "id": 57, "name": "animations", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 268, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L268" } ], "getSignature": { "id": 58, "name": "animations", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 456, "name": "default" } } } }, { "id": 53, "name": "bufferViews", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 266, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L266" } ], "getSignature": { "id": 54, "name": "bufferViews", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 573, "name": "default" } } } }, { "id": 51, "name": "buffers", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 265, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L265" } ], "getSignature": { "id": 52, "name": "buffers", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 555, "name": "default" } } } }, { "id": 65, "name": "cameras", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 272, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L272" } ], "getSignature": { "id": 66, "name": "cameras", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 598, "name": "default" } } } }, { "id": 63, "name": "materials", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 271, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L271" } ], "getSignature": { "id": 64, "name": "materials", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 666, "name": "IMaterial" } } } }, { "id": 59, "name": "meshes", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 269, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L269" } ], "getSignature": { "id": 60, "name": "meshes", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 765, "name": "default" } } } }, { "id": 61, "name": "nodes", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 270, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L270" } ], "getSignature": { "id": 62, "name": "nodes", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 778, "name": "default" } } } }, { "id": 69, "name": "primitives", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 274, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L274" } ], "getSignature": { "id": 70, "name": "primitives", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 946, "name": "default" } } } }, { "id": 73, "name": "scenes", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 276, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L276" } ], "getSignature": { "id": 74, "name": "scenes", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 1022, "name": "default" } } } }, { "id": 67, "name": "skins", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 273, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L273" } ], "getSignature": { "id": 68, "name": "skins", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 1036, "name": "default" } } } }, { "id": 71, "name": "textures", "kind": 262144, "kindString": "Accessor", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 275, "character": 6, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L275" } ], "getSignature": { "id": 72, "name": "textures", "kind": 524288, "kindString": "Get signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "reference", "id": 1054, "name": "default" } } } }, { "id": 107, "name": "_getCollection", "kind": 2048, "kindString": "Method", "flags": { "isPrivate": true }, "sources": [ { "fileName": "src/Gltf.ts", "line": 331, "character": 10, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L331" } ], "signatures": [ { "id": 108, "name": "_getCollection", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Get full collection of a specific type" } ] }, "typeParameter": [ { "id": 109, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", "id": 2435, "name": "GltfTypes" } } ], "parameters": [ { "id": 110, "name": "type", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Type of targeted collection" } ] }, "type": { "type": "reference", "id": 109, "name": "T" } } ], "type": { "type": "reference", "id": 2, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 222, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 292, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 316, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 386, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 456, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 484, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 520, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 540, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 555, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 573, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 598, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 627, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 666, "name": "IMaterial" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 765, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 778, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 861, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 879, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 946, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 1007, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 1022, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 1036, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 1054, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 109, "name": "T" }, { "type": "reference", "id": 1096, "name": "default" } ], "name": "ElementOfType" } ] } ], "name": "ElementCollection" } } ] }, { "id": 111, "name": "addElement", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 340, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L340" } ], "signatures": [ { "id": 112, "name": "addElement", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Add an element to the Gltf" } ] }, "parameters": [ { "id": 113, "name": "element", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Element to add" } ] }, "type": { "type": "reference", "id": 1924, "name": "AnyElement" } }, { "id": 114, "name": "index", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Index of the element, if -1 or not specified, will not be pushed to indexed array (only the unordered one)" } ] }, "type": { "type": "intrinsic", "name": "number" }, "defaultValue": "-1" } ], "type": { "type": "intrinsic", "name": "void" } } ] }, { "id": 45, "name": "allocate", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 217, "character": 8, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L217" } ], "signatures": [ { "id": 46, "name": "allocate", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Get the Gltf ready to be used in a WebGL context.\nGenerally the first method called after loading the Gltf.\nThis will allocate all the needed textures to the GPU, create the renderables, cameras, initialize buffers for primitives,\nand create Cameras from nanogl-camera." } ] }, "parameters": [ { "id": 47, "name": "gl", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "GL context" } ] }, "type": { "type": "reference", "name": "GLContext", "qualifiedName": "GLContext", "package": "nanogl" } }, { "id": 48, "name": "abortSignal", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Abort signal if you want to be able to cancel the request at any time" } ] }, "type": { "type": "reference", "name": "AbortSignal", "qualifiedName": "AbortSignal", "package": "@azure/abort-controller" }, "defaultValue": "AbortSignal.none" } ], "type": { "type": "reference", "typeArguments": [ { "type": "intrinsic", "name": "void" } ], "name": "Promise", "qualifiedName": "Promise", "package": "typescript" } } ] }, { "id": 49, "name": "createCameras", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 253, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L253" } ], "signatures": [ { "id": 50, "name": "createCameras", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Filter all gltf Nodes to get only the ones that are cameras, and create a Camera from nanogl-camera for each of them,\nadded as child of the Node, storing them in cameraInstances" } ] }, "type": { "type": "intrinsic", "name": "void" } } ] }, { "id": 75, "name": "getAllElements", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 281, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L281" } ], "signatures": [ { "id": 76, "name": "getAllElements", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Get all elements of this Gltf, unordered and unfiltered" } ] }, "type": { "type": "array", "elementType": { "type": "reference", "id": 1924, "name": "AnyElement" } } } ] }, { "id": 101, "name": "getAnimation", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 324, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L324" } ], "signatures": [ { "id": 102, "name": "getAnimation", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 103, "name": "name", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "reference", "id": 456, "name": "default" } } ] }, { "id": 77, "name": "getElement", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { "fileName": "src/Gltf.ts", "line": 290, "character": 2, "url": "https://github.com/plepers/nanogl-gltf/blob/222775d/src/Gltf.ts#L290" } ], "signatures": [ { "id": 78, "name": "getElement", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Get element by his type and index" } ] }, "typeParameter": [ { "id": 79, "name": "T", "kind": 131072, "kindString": "Type parameter", "flags": {}, "type": { "type": "reference", "id": 2435, "name": "GltfTypes" } } ], "parameters": [ { "id": 80, "name": "type", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Element's type" } ] }, "type": { "type": "reference", "id": 79, "name": "T" } }, { "id": 81, "name": "index", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Element's index" } ] }, "type": { "type": "intrinsic", "name": "number" } } ], "type": { "type": "union", "types": [ { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 222, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 292, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 316, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 386, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 456, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 484, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 520, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 540, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 555, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 573, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 598, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 627, "name": "default" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79, "name": "T" }, { "type": "reference", "id": 666, "name": "IMaterial" } ], "name": "ElementOfType" }, { "type": "reference", "id": 1925, "typeArguments": [ { "type": "reference", "id": 79