sebavan 5 年之前
父節點
當前提交
b8c86e492e

+ 5 - 0
dist/preview release/babylon.d.ts

@@ -57452,6 +57452,11 @@ declare module BABYLON {
          */
         loadFromSerialization(source: any, rootUrl?: string): void;
         /**
+         * Makes a duplicate of the current material.
+         * @param name - name to use for the new material.
+         */
+        clone(name: string): NodeMaterial;
+        /**
          * Creates a node material from parsed material data
          * @param source defines the JSON representation of the material
          * @param scene defines the hosting scene

File diff suppressed because it is too large
+ 1 - 1
dist/preview release/babylon.js


File diff suppressed because it is too large
+ 31 - 17
dist/preview release/babylon.max.js


File diff suppressed because it is too large
+ 1 - 1
dist/preview release/babylon.max.js.map


+ 10 - 0
dist/preview release/babylon.module.d.ts

@@ -60114,6 +60114,11 @@ declare module "babylonjs/Materials/Node/nodeMaterial" {
          */
         loadFromSerialization(source: any, rootUrl?: string): void;
         /**
+         * Makes a duplicate of the current material.
+         * @param name - name to use for the new material.
+         */
+        clone(name: string): NodeMaterial;
+        /**
          * Creates a node material from parsed material data
          * @param source defines the JSON representation of the material
          * @param scene defines the hosting scene
@@ -131151,6 +131156,11 @@ declare module BABYLON {
          */
         loadFromSerialization(source: any, rootUrl?: string): void;
         /**
+         * Makes a duplicate of the current material.
+         * @param name - name to use for the new material.
+         */
+        clone(name: string): NodeMaterial;
+        /**
          * Creates a node material from parsed material data
          * @param source defines the JSON representation of the material
          * @param scene defines the hosting scene

+ 5 - 0
dist/preview release/documentation.d.ts

@@ -57452,6 +57452,11 @@ declare module BABYLON {
          */
         loadFromSerialization(source: any, rootUrl?: string): void;
         /**
+         * Makes a duplicate of the current material.
+         * @param name - name to use for the new material.
+         */
+        clone(name: string): NodeMaterial;
+        /**
          * Creates a node material from parsed material data
          * @param source defines the JSON representation of the material
          * @param scene defines the hosting scene

+ 10 - 0
dist/preview release/viewer/babylon.module.d.ts

@@ -60114,6 +60114,11 @@ declare module "babylonjs/Materials/Node/nodeMaterial" {
          */
         loadFromSerialization(source: any, rootUrl?: string): void;
         /**
+         * Makes a duplicate of the current material.
+         * @param name - name to use for the new material.
+         */
+        clone(name: string): NodeMaterial;
+        /**
          * Creates a node material from parsed material data
          * @param source defines the JSON representation of the material
          * @param scene defines the hosting scene
@@ -131151,6 +131156,11 @@ declare module BABYLON {
          */
         loadFromSerialization(source: any, rootUrl?: string): void;
         /**
+         * Makes a duplicate of the current material.
+         * @param name - name to use for the new material.
+         */
+        clone(name: string): NodeMaterial;
+        /**
          * Creates a node material from parsed material data
          * @param source defines the JSON representation of the material
          * @param scene defines the hosting scene

File diff suppressed because it is too large
+ 6 - 6
dist/preview release/viewer/babylon.viewer.js


File diff suppressed because it is too large
+ 1 - 1
dist/preview release/viewer/babylon.viewer.max.js