I hereby claim:
- I am cdata on github.
- I am chrisjoel (https://keybase.io/chrisjoel) on keybase.
- I have a public key ASDMd3Tcem0y4liXgwOzNt8ls3rV-oOIOZfKQ2d9Nh9Otgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /* @license | |
| * Copyright 2019 Google LLC. All Rights Reserved. | |
| * Licensed under the Apache License, Version 2.0 (the 'License'); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software | |
| * distributed under the License is distributed on an 'AS IS' BASIS, |
| /** | |
| * A Scene describes an ordered subset Nodes associated with a root Model that | |
| * should be rendered together. | |
| * | |
| * @see https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#reference-scene | |
| * @access package | |
| */ | |
| export declare interface Scene extends ThreeDOMElement { | |
| /** |
| /* @license | |
| * Copyright 2019 Google LLC. All Rights Reserved. | |
| * Licensed under the Apache License, Version 2.0 (the 'License'); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software | |
| * distributed under the License is distributed on an 'AS IS' BASIS, |
| Errors: 964. Warnings: 2. | |
| [Error] | |
| Accessor contains 754 element(s) less than declared minimum value 0. | |
| /accessors/1463/min/3 | |
| [Error] | |
| Material is incompatible with mesh primitive: Texture binding textureBinding needs 'TEXcoordValue_0' attribute. | |
| /meshes/0/primitives/0/material | |
| [Error] | |
| Material is incompatible with mesh primitive: Texture binding textureBinding needs 'TEXcoordValue_0' attribute. |
| THREE.WebGLShader: gl.getShaderInfoLog() fragment | |
| Compile failed. | |
| WARNING: 0:254: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results | |
| WARNING: 0:256: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results | |
| WARNING: 0:258: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results | |
| WARNING: 0:260: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results | |
| WARNING: 4 compilation warnings. | |
| �1: #define n 20 | |
| 2: |
| <model-viewer src="something.glb" ios-src="something.usdz" ar> | |
| </model-viewer> | |
| <!-- ... somewhere after the <model-viewer> tag ... --> | |
| <script> | |
| function disableQuickLookForIosChrome() { | |
| var modelViewer = document.querySelector('model-viewer'); | |
| var isIosChrome = /CriOS/.test(navigator.userAgent); | |
| if (isIosChrome) { |
| /** | |
| * This is mixin function is designed to be applied to a class that inherits | |
| * from HTMLElement. It makes it easy for a custom element to coordinate with | |
| * the :focus-visible polyfill. | |
| * | |
| * @param {Function} SuperClass The base class implementation to decorate with | |
| * implementation that coordinates with the :focus-visible polyfill | |
| */ | |
| export function FocusVisiblePolyfillMixin(SuperClass) { | |
| var coordinateWithPolyfill = function(instance) { |
| const getScene = (modelViewerElement) => { | |
| return modelViewerElement[Object.getOwnPropertySymbols(modelViewerElement)[3]]; | |
| }; | |
| const getCameraControls = (modelViewerElement) => { | |
| return modelViewerElement[Object.getOwnPropertySymbols(modelViewerElement)[21]]; | |
| }; | |
| const modelViewer = document.querySelector('model-viewer'); | |
| const scene = getScene(modelViewer); |