|
@@ -47797,34 +47797,6 @@ Object.defineProperties( Mesh.prototype, {
|
|
|
|
|
|
} );
|
|
|
|
|
|
-Object.defineProperties( LOD.prototype, {
|
|
|
-
|
|
|
- objects: {
|
|
|
- get: function () {
|
|
|
-
|
|
|
- console.warn( 'THREE.LOD: .objects has been renamed to .levels.' );
|
|
|
- return this.levels;
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-} );
|
|
|
-
|
|
|
-Object.defineProperty( Skeleton.prototype, 'useVertexTexture', {
|
|
|
-
|
|
|
- get: function () {
|
|
|
-
|
|
|
- console.warn( 'THREE.Skeleton: useVertexTexture has been removed.' );
|
|
|
-
|
|
|
- },
|
|
|
- set: function () {
|
|
|
-
|
|
|
- console.warn( 'THREE.Skeleton: useVertexTexture has been removed.' );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
-} );
|
|
|
-
|
|
|
SkinnedMesh.prototype.initBones = function () {
|
|
|
|
|
|
console.error( 'THREE.SkinnedMesh: initBones() has been removed.' );
|
|
@@ -48212,25 +48184,12 @@ Scene.prototype.dispose = function () {
|
|
|
|
|
|
//
|
|
|
|
|
|
-Object.defineProperties( Uniform.prototype, {
|
|
|
-
|
|
|
- dynamic: {
|
|
|
- set: function () {
|
|
|
-
|
|
|
- console.warn( 'THREE.Uniform: .dynamic has been removed. Use object.onBeforeRender() instead.' );
|
|
|
+Uniform.prototype.onUpdate = function () {
|
|
|
|
|
|
- }
|
|
|
- },
|
|
|
- onUpdate: {
|
|
|
- value: function () {
|
|
|
-
|
|
|
- console.warn( 'THREE.Uniform: .onUpdate() has been removed. Use object.onBeforeRender() instead.' );
|
|
|
- return this;
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
+ console.warn( 'THREE.Uniform: .onUpdate() has been removed. Use object.onBeforeRender() instead.' );
|
|
|
+ return this;
|
|
|
|
|
|
-} );
|
|
|
+};
|
|
|
|
|
|
//
|
|
|
|
|
@@ -48302,24 +48261,6 @@ Object.defineProperties( Material.prototype, {
|
|
|
|
|
|
} );
|
|
|
|
|
|
-Object.defineProperties( MeshPhongMaterial.prototype, {
|
|
|
-
|
|
|
- metal: {
|
|
|
- get: function () {
|
|
|
-
|
|
|
- console.warn( 'THREE.MeshPhongMaterial: .metal has been removed. Use THREE.MeshStandardMaterial instead.' );
|
|
|
- return false;
|
|
|
-
|
|
|
- },
|
|
|
- set: function () {
|
|
|
-
|
|
|
- console.warn( 'THREE.MeshPhongMaterial: .metal has been removed. Use THREE.MeshStandardMaterial instead' );
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-} );
|
|
|
-
|
|
|
Object.defineProperties( MeshPhysicalMaterial.prototype, {
|
|
|
|
|
|
transparency: {
|
|
@@ -48827,32 +48768,20 @@ Object.defineProperties( WebGLRenderTarget.prototype, {
|
|
|
|
|
|
//
|
|
|
|
|
|
-Object.defineProperties( Audio.prototype, {
|
|
|
+Audio.prototype.load = function ( file ) {
|
|
|
|
|
|
- load: {
|
|
|
- value: function ( file ) {
|
|
|
-
|
|
|
- console.warn( 'THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.' );
|
|
|
- const scope = this;
|
|
|
- const audioLoader = new AudioLoader();
|
|
|
- audioLoader.load( file, function ( buffer ) {
|
|
|
-
|
|
|
- scope.setBuffer( buffer );
|
|
|
+ console.warn( 'THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.' );
|
|
|
+ const scope = this;
|
|
|
+ const audioLoader = new AudioLoader();
|
|
|
+ audioLoader.load( file, function ( buffer ) {
|
|
|
|
|
|
- } );
|
|
|
- return this;
|
|
|
+ scope.setBuffer( buffer );
|
|
|
|
|
|
- }
|
|
|
- },
|
|
|
- startTime: {
|
|
|
- set: function () {
|
|
|
-
|
|
|
- console.warn( 'THREE.Audio: .startTime is now .play( delay ).' );
|
|
|
+ } );
|
|
|
+ return this;
|
|
|
|
|
|
- }
|
|
|
- }
|
|
|
+};
|
|
|
|
|
|
-} );
|
|
|
|
|
|
AudioAnalyser.prototype.getData = function () {
|
|
|
|