|
@@ -56269,6 +56269,43 @@ declare module "babylonjs/Materials/Node/Blocks/vectorSplitterBlock" {
|
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
}
|
|
|
}
|
|
|
+declare module "babylonjs/Materials/Node/Blocks/lerpBlock" {
|
|
|
+ import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
|
+ import { NodeMaterialBuildState } from "babylonjs/Materials/Node/nodeMaterialBuildState";
|
|
|
+ import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
|
+ /**
|
|
|
+ * Block used to lerp 2 values
|
|
|
+ */
|
|
|
+ export class LerpBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new LerpBlock
|
|
|
+ * @param name defines the block name
|
|
|
+ */
|
|
|
+ constructor(name: string);
|
|
|
+ /**
|
|
|
+ * Gets the current class name
|
|
|
+ * @returns the class name
|
|
|
+ */
|
|
|
+ getClassName(): string;
|
|
|
+ /**
|
|
|
+ * Gets the left operand input component
|
|
|
+ */
|
|
|
+ readonly left: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the right operand input component
|
|
|
+ */
|
|
|
+ readonly right: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the gradient operand input component
|
|
|
+ */
|
|
|
+ readonly gradient: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the output component
|
|
|
+ */
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
+ }
|
|
|
+}
|
|
|
declare module "babylonjs/Materials/Node/Blocks/index" {
|
|
|
export * from "babylonjs/Materials/Node/Blocks/Vertex/index";
|
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/index";
|
|
@@ -56288,6 +56325,7 @@ declare module "babylonjs/Materials/Node/Blocks/index" {
|
|
|
export * from "babylonjs/Materials/Node/Blocks/vectorMergerBlock";
|
|
|
export * from "babylonjs/Materials/Node/Blocks/colorSplitterBlock";
|
|
|
export * from "babylonjs/Materials/Node/Blocks/vectorSplitterBlock";
|
|
|
+ export * from "babylonjs/Materials/Node/Blocks/lerpBlock";
|
|
|
}
|
|
|
declare module "babylonjs/Materials/Node/Optimizers/index" {
|
|
|
export * from "babylonjs/Materials/Node/Optimizers/nodeMaterialOptimizer";
|
|
@@ -118400,6 +118438,40 @@ declare module BABYLON {
|
|
|
}
|
|
|
declare module BABYLON {
|
|
|
/**
|
|
|
+ * Block used to lerp 2 values
|
|
|
+ */
|
|
|
+ export class LerpBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new LerpBlock
|
|
|
+ * @param name defines the block name
|
|
|
+ */
|
|
|
+ constructor(name: string);
|
|
|
+ /**
|
|
|
+ * Gets the current class name
|
|
|
+ * @returns the class name
|
|
|
+ */
|
|
|
+ getClassName(): string;
|
|
|
+ /**
|
|
|
+ * Gets the left operand input component
|
|
|
+ */
|
|
|
+ readonly left: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the right operand input component
|
|
|
+ */
|
|
|
+ readonly right: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the gradient operand input component
|
|
|
+ */
|
|
|
+ readonly gradient: NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
+ * Gets the output component
|
|
|
+ */
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
+ }
|
|
|
+}
|
|
|
+declare module BABYLON {
|
|
|
+ /**
|
|
|
* Effect Render Options
|
|
|
*/
|
|
|
export interface IEffectRendererOptions {
|