|
@@ -52802,7 +52802,9 @@ declare module "babylonjs/Materials/Node/nodeMaterialBlockConnectionPointTypes"
|
|
/** Detect type based on connection */
|
|
/** Detect type based on connection */
|
|
AutoDetect = 1024,
|
|
AutoDetect = 1024,
|
|
/** Output type that will be defined by input type */
|
|
/** Output type that will be defined by input type */
|
|
- BasedOnInput = 2048
|
|
|
|
|
|
+ BasedOnInput = 2048,
|
|
|
|
+ /** Light */
|
|
|
|
+ Light = 4096
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module "babylonjs/Materials/Node/nodeMaterialWellKnownValues" {
|
|
declare module "babylonjs/Materials/Node/nodeMaterialWellKnownValues" {
|
|
@@ -53053,6 +53055,10 @@ declare module "babylonjs/Materials/Node/Blocks/vector4TransformBlock" {
|
|
*/
|
|
*/
|
|
readonly vector: NodeMaterialConnectionPoint;
|
|
readonly vector: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Gets the matrix transform input
|
|
* Gets the matrix transform input
|
|
*/
|
|
*/
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
@@ -53544,6 +53550,8 @@ declare module "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint" {
|
|
_typeConnectionSource: Nullable<NodeMaterialConnectionPoint>;
|
|
_typeConnectionSource: Nullable<NodeMaterialConnectionPoint>;
|
|
/** @hidden */
|
|
/** @hidden */
|
|
_needToEmitVarying: boolean;
|
|
_needToEmitVarying: boolean;
|
|
|
|
+ /** @hidden */
|
|
|
|
+ _forceUniformInVertexShaderOnly: boolean;
|
|
private _type;
|
|
private _type;
|
|
/**
|
|
/**
|
|
* Gets or sets the connection point type (default is float)
|
|
* Gets or sets the connection point type (default is float)
|
|
@@ -53582,6 +53590,10 @@ declare module "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint" {
|
|
*/
|
|
*/
|
|
associatedVariableName: string;
|
|
associatedVariableName: string;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets a boolean indicating that this connection point not defined yet
|
|
|
|
+ */
|
|
|
|
+ readonly isUndefined: boolean;
|
|
|
|
+ /**
|
|
* Gets or sets a boolean indicating that this connection point is coming from an uniform.
|
|
* Gets or sets a boolean indicating that this connection point is coming from an uniform.
|
|
* In this case the connection point name must be the name of the uniform to use.
|
|
* In this case the connection point name must be the name of the uniform to use.
|
|
* Can only be set on inputs
|
|
* Can only be set on inputs
|
|
@@ -53713,6 +53725,10 @@ declare module "babylonjs/Materials/Node/Blocks/Vertex/bonesBlock" {
|
|
* Gets the world input component
|
|
* Gets the world input component
|
|
*/
|
|
*/
|
|
readonly world: NodeMaterialConnectionPoint;
|
|
readonly world: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
autoConfigure(): void;
|
|
autoConfigure(): void;
|
|
provideFallbacks(mesh: AbstractMesh, fallbacks: EffectFallbacks): void;
|
|
provideFallbacks(mesh: AbstractMesh, fallbacks: EffectFallbacks): void;
|
|
bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
@@ -53899,6 +53915,10 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/rgbaMergerBlock" {
|
|
* Gets the R input component
|
|
* Gets the R input component
|
|
*/
|
|
*/
|
|
readonly a: NodeMaterialConnectionPoint;
|
|
readonly a: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -53932,6 +53952,10 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/rgbMergerBlock" {
|
|
* Gets the B component input
|
|
* Gets the B component input
|
|
*/
|
|
*/
|
|
readonly b: NodeMaterialConnectionPoint;
|
|
readonly b: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -54034,6 +54058,10 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/textureBlock" {
|
|
* Gets the texture transform input component
|
|
* Gets the texture transform input component
|
|
*/
|
|
*/
|
|
readonly textureTransform: NodeMaterialConnectionPoint;
|
|
readonly textureTransform: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
autoConfigure(): void;
|
|
autoConfigure(): void;
|
|
initialize(state: NodeMaterialBuildState): void;
|
|
initialize(state: NodeMaterialBuildState): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
@@ -54069,6 +54097,10 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/imageProcessingBlock" {
|
|
*/
|
|
*/
|
|
readonly color: NodeMaterialConnectionPoint;
|
|
readonly color: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Initialize the block and prepare the context for build
|
|
* Initialize the block and prepare the context for build
|
|
* @param state defines the state that will be used for the build
|
|
* @param state defines the state that will be used for the build
|
|
*/
|
|
*/
|
|
@@ -54079,6 +54111,30 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/imageProcessingBlock" {
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+declare module "babylonjs/Materials/Node/Blocks/Fragment/lightBlock" {
|
|
|
|
+ import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
|
|
+ import { NodeMaterialBuildState } from "babylonjs/Materials/Node/nodeMaterialBuildState";
|
|
|
|
+ import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
|
|
+ /**
|
|
|
|
+ * Block used to add light in the fragment shader
|
|
|
|
+ */
|
|
|
|
+ export class LightBlock extends NodeMaterialBlock {
|
|
|
|
+ /**
|
|
|
|
+ * Create a new LightBlock
|
|
|
|
+ * @param name defines the block name
|
|
|
|
+ */
|
|
|
|
+ constructor(name: string);
|
|
|
|
+ /**
|
|
|
|
+ * Gets the light input component
|
|
|
|
+ */
|
|
|
|
+ readonly light: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
|
+ }
|
|
|
|
+}
|
|
declare module "babylonjs/Materials/Node/Blocks/Fragment/index" {
|
|
declare module "babylonjs/Materials/Node/Blocks/Fragment/index" {
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/fragmentOutputBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/fragmentOutputBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/alphaTestBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/alphaTestBlock";
|
|
@@ -54088,6 +54144,7 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/index" {
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/rgbSplitterBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/rgbSplitterBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/textureBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/textureBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/imageProcessingBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/imageProcessingBlock";
|
|
|
|
+ export * from "babylonjs/Materials/Node/Blocks/Fragment/lightBlock";
|
|
}
|
|
}
|
|
declare module "babylonjs/Materials/Node/Blocks/Dual/fogBlock" {
|
|
declare module "babylonjs/Materials/Node/Blocks/Dual/fogBlock" {
|
|
import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
@@ -54131,6 +54188,10 @@ declare module "babylonjs/Materials/Node/Blocks/Dual/fogBlock" {
|
|
* Gets the for parameter input component
|
|
* Gets the for parameter input component
|
|
*/
|
|
*/
|
|
readonly fogParameters: NodeMaterialConnectionPoint;
|
|
readonly fogParameters: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
autoConfigure(): void;
|
|
autoConfigure(): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
@@ -54166,6 +54227,10 @@ declare module "babylonjs/Materials/Node/Blocks/multiplyBlock" {
|
|
* Gets the right operand input component
|
|
* Gets the right operand input component
|
|
*/
|
|
*/
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -54195,6 +54260,10 @@ declare module "babylonjs/Materials/Node/Blocks/addBlock" {
|
|
* Gets the right operand input component
|
|
* Gets the right operand input component
|
|
*/
|
|
*/
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -54224,6 +54293,10 @@ declare module "babylonjs/Materials/Node/Blocks/clampBlock" {
|
|
* Gets the value input component
|
|
* Gets the value input component
|
|
*/
|
|
*/
|
|
readonly value: NodeMaterialConnectionPoint;
|
|
readonly value: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -54253,6 +54326,10 @@ declare module "babylonjs/Materials/Node/Blocks/scaleBlock" {
|
|
* Gets the scale operand input component
|
|
* Gets the scale operand input component
|
|
*/
|
|
*/
|
|
readonly scale: NodeMaterialConnectionPoint;
|
|
readonly scale: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -54286,6 +54363,10 @@ declare module "babylonjs/Materials/Node/Blocks/vector2TransformBlock" {
|
|
*/
|
|
*/
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Gets the current class name
|
|
* Gets the current class name
|
|
* @returns the class name
|
|
* @returns the class name
|
|
*/
|
|
*/
|
|
@@ -54319,6 +54400,10 @@ declare module "babylonjs/Materials/Node/Blocks/vector3TransformBlock" {
|
|
*/
|
|
*/
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Gets the current class name
|
|
* Gets the current class name
|
|
* @returns the class name
|
|
* @returns the class name
|
|
*/
|
|
*/
|
|
@@ -54348,6 +54433,10 @@ declare module "babylonjs/Materials/Node/Blocks/matrixMultiplicationBlock" {
|
|
*/
|
|
*/
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Gets the current class name
|
|
* Gets the current class name
|
|
* @returns the class name
|
|
* @returns the class name
|
|
*/
|
|
*/
|
|
@@ -113251,7 +113340,9 @@ declare module BABYLON {
|
|
/** Detect type based on connection */
|
|
/** Detect type based on connection */
|
|
AutoDetect = 1024,
|
|
AutoDetect = 1024,
|
|
/** Output type that will be defined by input type */
|
|
/** Output type that will be defined by input type */
|
|
- BasedOnInput = 2048
|
|
|
|
|
|
+ BasedOnInput = 2048,
|
|
|
|
+ /** Light */
|
|
|
|
+ Light = 4096
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module BABYLON {
|
|
declare module BABYLON {
|
|
@@ -113492,6 +113583,10 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
readonly vector: NodeMaterialConnectionPoint;
|
|
readonly vector: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Gets the matrix transform input
|
|
* Gets the matrix transform input
|
|
*/
|
|
*/
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
@@ -113947,6 +114042,8 @@ declare module BABYLON {
|
|
_typeConnectionSource: Nullable<NodeMaterialConnectionPoint>;
|
|
_typeConnectionSource: Nullable<NodeMaterialConnectionPoint>;
|
|
/** @hidden */
|
|
/** @hidden */
|
|
_needToEmitVarying: boolean;
|
|
_needToEmitVarying: boolean;
|
|
|
|
+ /** @hidden */
|
|
|
|
+ _forceUniformInVertexShaderOnly: boolean;
|
|
private _type;
|
|
private _type;
|
|
/**
|
|
/**
|
|
* Gets or sets the connection point type (default is float)
|
|
* Gets or sets the connection point type (default is float)
|
|
@@ -113985,6 +114082,10 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
associatedVariableName: string;
|
|
associatedVariableName: string;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets a boolean indicating that this connection point not defined yet
|
|
|
|
+ */
|
|
|
|
+ readonly isUndefined: boolean;
|
|
|
|
+ /**
|
|
* Gets or sets a boolean indicating that this connection point is coming from an uniform.
|
|
* Gets or sets a boolean indicating that this connection point is coming from an uniform.
|
|
* In this case the connection point name must be the name of the uniform to use.
|
|
* In this case the connection point name must be the name of the uniform to use.
|
|
* Can only be set on inputs
|
|
* Can only be set on inputs
|
|
@@ -114109,6 +114210,10 @@ declare module BABYLON {
|
|
* Gets the world input component
|
|
* Gets the world input component
|
|
*/
|
|
*/
|
|
readonly world: NodeMaterialConnectionPoint;
|
|
readonly world: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
autoConfigure(): void;
|
|
autoConfigure(): void;
|
|
provideFallbacks(mesh: AbstractMesh, fallbacks: EffectFallbacks): void;
|
|
provideFallbacks(mesh: AbstractMesh, fallbacks: EffectFallbacks): void;
|
|
bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
@@ -114271,6 +114376,10 @@ declare module BABYLON {
|
|
* Gets the R input component
|
|
* Gets the R input component
|
|
*/
|
|
*/
|
|
readonly a: NodeMaterialConnectionPoint;
|
|
readonly a: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -114301,6 +114410,10 @@ declare module BABYLON {
|
|
* Gets the B component input
|
|
* Gets the B component input
|
|
*/
|
|
*/
|
|
readonly b: NodeMaterialConnectionPoint;
|
|
readonly b: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -114392,6 +114505,10 @@ declare module BABYLON {
|
|
* Gets the texture transform input component
|
|
* Gets the texture transform input component
|
|
*/
|
|
*/
|
|
readonly textureTransform: NodeMaterialConnectionPoint;
|
|
readonly textureTransform: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
autoConfigure(): void;
|
|
autoConfigure(): void;
|
|
initialize(state: NodeMaterialBuildState): void;
|
|
initialize(state: NodeMaterialBuildState): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
@@ -114420,6 +114537,10 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
readonly color: NodeMaterialConnectionPoint;
|
|
readonly color: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Initialize the block and prepare the context for build
|
|
* Initialize the block and prepare the context for build
|
|
* @param state defines the state that will be used for the build
|
|
* @param state defines the state that will be used for the build
|
|
*/
|
|
*/
|
|
@@ -114432,6 +114553,27 @@ declare module BABYLON {
|
|
}
|
|
}
|
|
declare module BABYLON {
|
|
declare module BABYLON {
|
|
/**
|
|
/**
|
|
|
|
+ * Block used to add light in the fragment shader
|
|
|
|
+ */
|
|
|
|
+ export class LightBlock extends NodeMaterialBlock {
|
|
|
|
+ /**
|
|
|
|
+ * Create a new LightBlock
|
|
|
|
+ * @param name defines the block name
|
|
|
|
+ */
|
|
|
|
+ constructor(name: string);
|
|
|
|
+ /**
|
|
|
|
+ * Gets the light input component
|
|
|
|
+ */
|
|
|
|
+ readonly light: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+declare module BABYLON {
|
|
|
|
+ /**
|
|
* Block used to add support for scene fog
|
|
* Block used to add support for scene fog
|
|
*/
|
|
*/
|
|
export class FogBlock extends NodeMaterialBlock {
|
|
export class FogBlock extends NodeMaterialBlock {
|
|
@@ -114465,6 +114607,10 @@ declare module BABYLON {
|
|
* Gets the for parameter input component
|
|
* Gets the for parameter input component
|
|
*/
|
|
*/
|
|
readonly fogParameters: NodeMaterialConnectionPoint;
|
|
readonly fogParameters: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
autoConfigure(): void;
|
|
autoConfigure(): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
@@ -114494,6 +114640,10 @@ declare module BABYLON {
|
|
* Gets the right operand input component
|
|
* Gets the right operand input component
|
|
*/
|
|
*/
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -114520,6 +114670,10 @@ declare module BABYLON {
|
|
* Gets the right operand input component
|
|
* Gets the right operand input component
|
|
*/
|
|
*/
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -114546,6 +114700,10 @@ declare module BABYLON {
|
|
* Gets the value input component
|
|
* Gets the value input component
|
|
*/
|
|
*/
|
|
readonly value: NodeMaterialConnectionPoint;
|
|
readonly value: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -114572,6 +114730,10 @@ declare module BABYLON {
|
|
* Gets the scale operand input component
|
|
* Gets the scale operand input component
|
|
*/
|
|
*/
|
|
readonly scale: NodeMaterialConnectionPoint;
|
|
readonly scale: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -114602,6 +114764,10 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Gets the current class name
|
|
* Gets the current class name
|
|
* @returns the class name
|
|
* @returns the class name
|
|
*/
|
|
*/
|
|
@@ -114632,6 +114798,10 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
readonly transform: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Gets the current class name
|
|
* Gets the current class name
|
|
* @returns the class name
|
|
* @returns the class name
|
|
*/
|
|
*/
|
|
@@ -114658,6 +114828,10 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
readonly right: NodeMaterialConnectionPoint;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
* Gets the current class name
|
|
* Gets the current class name
|
|
* @returns the class name
|
|
* @returns the class name
|
|
*/
|
|
*/
|