|
@@ -56314,6 +56314,72 @@ declare module "babylonjs/Materials/Node/Blocks/lerpBlock" {
|
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
}
|
|
|
}
|
|
|
+declare module "babylonjs/Materials/Node/Blocks/divideBlock" {
|
|
|
+ import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
|
+ import { NodeMaterialBuildState } from "babylonjs/Materials/Node/nodeMaterialBuildState";
|
|
|
+ import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
|
+ /**
|
|
|
+ * Block used to divide 2 vectors
|
|
|
+ */
|
|
|
+ export class DivideBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new DivideBlock
|
|
|
+ * @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 output component
|
|
|
+ */
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
+ }
|
|
|
+}
|
|
|
+declare module "babylonjs/Materials/Node/Blocks/subtractBlock" {
|
|
|
+ import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
|
+ import { NodeMaterialBuildState } from "babylonjs/Materials/Node/nodeMaterialBuildState";
|
|
|
+ import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
|
+ /**
|
|
|
+ * Block used to subtract 2 vectors
|
|
|
+ */
|
|
|
+ export class SubtractBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new SubtractBlock
|
|
|
+ * @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 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";
|
|
@@ -56334,6 +56400,8 @@ declare module "babylonjs/Materials/Node/Blocks/index" {
|
|
|
export * from "babylonjs/Materials/Node/Blocks/colorSplitterBlock";
|
|
|
export * from "babylonjs/Materials/Node/Blocks/vectorSplitterBlock";
|
|
|
export * from "babylonjs/Materials/Node/Blocks/lerpBlock";
|
|
|
+ export * from "babylonjs/Materials/Node/Blocks/divideBlock";
|
|
|
+ export * from "babylonjs/Materials/Node/Blocks/subtractBlock";
|
|
|
}
|
|
|
declare module "babylonjs/Materials/Node/Optimizers/index" {
|
|
|
export * from "babylonjs/Materials/Node/Optimizers/nodeMaterialOptimizer";
|
|
@@ -118487,6 +118555,66 @@ declare module BABYLON {
|
|
|
}
|
|
|
declare module BABYLON {
|
|
|
/**
|
|
|
+ * Block used to divide 2 vectors
|
|
|
+ */
|
|
|
+ export class DivideBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new DivideBlock
|
|
|
+ * @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 output component
|
|
|
+ */
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
+ }
|
|
|
+}
|
|
|
+declare module BABYLON {
|
|
|
+ /**
|
|
|
+ * Block used to subtract 2 vectors
|
|
|
+ */
|
|
|
+ export class SubtractBlock extends NodeMaterialBlock {
|
|
|
+ /**
|
|
|
+ * Creates a new SubtractBlock
|
|
|
+ * @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 output component
|
|
|
+ */
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
+ }
|
|
|
+}
|
|
|
+declare module BABYLON {
|
|
|
+ /**
|
|
|
* Effect Render Options
|
|
|
*/
|
|
|
export interface IEffectRendererOptions {
|