David Catuhe 5 lat temu
rodzic
commit
ae3222832c

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

@@ -55668,6 +55668,11 @@ declare module BABYLON {
          * Gets the rgb component (output)
          */
         readonly rgbOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the rgb component (output)
+         * @deprecated Please use rgbOut instead
+         */
+        readonly rgb: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }
@@ -55722,6 +55727,16 @@ declare module BABYLON {
          * Gets the xy component (output)
          */
         readonly xyOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xy component (output)
+         * @deprecated Please use xyOut instead
+         */
+        readonly xy: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xyz component (output)
+         * @deprecated Please use xyzOut instead
+         */
+        readonly xyz: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }

Plik diff jest za duży
+ 1 - 1
dist/preview release/babylon.js


+ 33 - 0
dist/preview release/babylon.max.js

@@ -66079,6 +66079,17 @@ var ColorMergerBlock = /** @class */ (function (_super) {
         enumerable: true,
         configurable: true
     });
+    Object.defineProperty(ColorMergerBlock.prototype, "rgb", {
+        /**
+         * Gets the rgb component (output)
+         * @deprecated Please use rgbOut instead
+         */
+        get: function () {
+            return this.rgbOut;
+        },
+        enumerable: true,
+        configurable: true
+    });
     ColorMergerBlock.prototype._buildBlock = function (state) {
         _super.prototype._buildBlock.call(this, state);
         var rInput = this.r;
@@ -70056,6 +70067,28 @@ var VectorMergerBlock = /** @class */ (function (_super) {
         enumerable: true,
         configurable: true
     });
+    Object.defineProperty(VectorMergerBlock.prototype, "xy", {
+        /**
+         * Gets the xy component (output)
+         * @deprecated Please use xyOut instead
+         */
+        get: function () {
+            return this.xyOut;
+        },
+        enumerable: true,
+        configurable: true
+    });
+    Object.defineProperty(VectorMergerBlock.prototype, "xyz", {
+        /**
+         * Gets the xyz component (output)
+         * @deprecated Please use xyzOut instead
+         */
+        get: function () {
+            return this.xyzOut;
+        },
+        enumerable: true,
+        configurable: true
+    });
     VectorMergerBlock.prototype._buildBlock = function (state) {
         _super.prototype._buildBlock.call(this, state);
         var xInput = this.x;

Plik diff jest za duży
+ 1 - 1
dist/preview release/babylon.max.js.map


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

@@ -58411,6 +58411,11 @@ declare module "babylonjs/Materials/Node/Blocks/colorMergerBlock" {
          * Gets the rgb component (output)
          */
         readonly rgbOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the rgb component (output)
+         * @deprecated Please use rgbOut instead
+         */
+        readonly rgb: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }
@@ -58468,6 +58473,16 @@ declare module "babylonjs/Materials/Node/Blocks/vectorMergerBlock" {
          * Gets the xy component (output)
          */
         readonly xyOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xy component (output)
+         * @deprecated Please use xyOut instead
+         */
+        readonly xy: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xyz component (output)
+         * @deprecated Please use xyzOut instead
+         */
+        readonly xyz: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }
@@ -124315,6 +124330,11 @@ declare module BABYLON {
          * Gets the rgb component (output)
          */
         readonly rgbOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the rgb component (output)
+         * @deprecated Please use rgbOut instead
+         */
+        readonly rgb: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }
@@ -124369,6 +124389,16 @@ declare module BABYLON {
          * Gets the xy component (output)
          */
         readonly xyOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xy component (output)
+         * @deprecated Please use xyOut instead
+         */
+        readonly xy: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xyz component (output)
+         * @deprecated Please use xyzOut instead
+         */
+        readonly xyz: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }

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

@@ -55668,6 +55668,11 @@ declare module BABYLON {
          * Gets the rgb component (output)
          */
         readonly rgbOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the rgb component (output)
+         * @deprecated Please use rgbOut instead
+         */
+        readonly rgb: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }
@@ -55722,6 +55727,16 @@ declare module BABYLON {
          * Gets the xy component (output)
          */
         readonly xyOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xy component (output)
+         * @deprecated Please use xyOut instead
+         */
+        readonly xy: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xyz component (output)
+         * @deprecated Please use xyzOut instead
+         */
+        readonly xyz: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }

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

@@ -58411,6 +58411,11 @@ declare module "babylonjs/Materials/Node/Blocks/colorMergerBlock" {
          * Gets the rgb component (output)
          */
         readonly rgbOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the rgb component (output)
+         * @deprecated Please use rgbOut instead
+         */
+        readonly rgb: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }
@@ -58468,6 +58473,16 @@ declare module "babylonjs/Materials/Node/Blocks/vectorMergerBlock" {
          * Gets the xy component (output)
          */
         readonly xyOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xy component (output)
+         * @deprecated Please use xyOut instead
+         */
+        readonly xy: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xyz component (output)
+         * @deprecated Please use xyzOut instead
+         */
+        readonly xyz: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }
@@ -124315,6 +124330,11 @@ declare module BABYLON {
          * Gets the rgb component (output)
          */
         readonly rgbOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the rgb component (output)
+         * @deprecated Please use rgbOut instead
+         */
+        readonly rgb: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }
@@ -124369,6 +124389,16 @@ declare module BABYLON {
          * Gets the xy component (output)
          */
         readonly xyOut: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xy component (output)
+         * @deprecated Please use xyOut instead
+         */
+        readonly xy: NodeMaterialConnectionPoint;
+        /**
+         * Gets the xyz component (output)
+         * @deprecated Please use xyzOut instead
+         */
+        readonly xyz: NodeMaterialConnectionPoint;
         protected _buildBlock(state: NodeMaterialBuildState): this;
     }
 }

Plik diff jest za duży
+ 2 - 2
dist/preview release/viewer/babylon.viewer.js


Plik diff jest za duży
+ 1 - 1
dist/preview release/viewer/babylon.viewer.max.js


+ 8 - 0
src/Materials/Node/Blocks/colorMergerBlock.ts

@@ -83,6 +83,14 @@ export class ColorMergerBlock extends NodeMaterialBlock {
         return this._outputs[1];
     }
 
+    /**
+     * Gets the rgb component (output)
+     * @deprecated Please use rgbOut instead
+     */
+    public get rgb(): NodeMaterialConnectionPoint {
+        return this.rgbOut;
+    }
+
     protected _buildBlock(state: NodeMaterialBuildState) {
         super._buildBlock(state);
 

+ 16 - 0
src/Materials/Node/Blocks/vectorMergerBlock.ts

@@ -99,6 +99,22 @@ export class VectorMergerBlock extends NodeMaterialBlock {
         return this._outputs[2];
     }
 
+    /**
+     * Gets the xy component (output)
+     * @deprecated Please use xyOut instead
+     */
+    public get xy(): NodeMaterialConnectionPoint {
+        return this.xyOut;
+    }
+
+    /**
+     * Gets the xyz component (output)
+     * @deprecated Please use xyzOut instead
+     */
+    public get xyz(): NodeMaterialConnectionPoint {
+        return this.xyzOut;
+    }
+
     protected _buildBlock(state: NodeMaterialBuildState) {
         super._buildBlock(state);