|
@@ -12436,6 +12436,7 @@ declare module "babylonjs/Materials/shaderMaterial" {
|
|
|
private _colors3;
|
|
|
private _colors3Arrays;
|
|
|
private _colors4;
|
|
|
+ private _colors4Arrays;
|
|
|
private _vectors2;
|
|
|
private _vectors3;
|
|
|
private _vectors4;
|
|
@@ -12444,6 +12445,7 @@ declare module "babylonjs/Materials/shaderMaterial" {
|
|
|
private _matrices2x2;
|
|
|
private _vectors2Arrays;
|
|
|
private _vectors3Arrays;
|
|
|
+ private _vectors4Arrays;
|
|
|
private _cachedWorldViewMatrix;
|
|
|
private _cachedWorldViewProjectionMatrix;
|
|
|
private _renderId;
|
|
@@ -12540,6 +12542,13 @@ declare module "babylonjs/Materials/shaderMaterial" {
|
|
|
*/
|
|
|
setColor4(name: string, value: Color4): ShaderMaterial;
|
|
|
/**
|
|
|
+ * Set a vec4 array in the shader from a Color4 array.
|
|
|
+ * @param name Define the name of the uniform as defined in the shader
|
|
|
+ * @param value Define the value to give to the uniform
|
|
|
+ * @return the material itself allowing "fluent" like uniform updates
|
|
|
+ */
|
|
|
+ setColor4Array(name: string, value: Color4[]): ShaderMaterial;
|
|
|
+ /**
|
|
|
* Set a vec2 in the shader from a Vector2.
|
|
|
* @param name Define the name of the uniform as defined in the shader
|
|
|
* @param value Define the value to give to the uniform
|
|
@@ -12595,6 +12604,13 @@ declare module "babylonjs/Materials/shaderMaterial" {
|
|
|
* @return the material itself allowing "fluent" like uniform updates
|
|
|
*/
|
|
|
setArray3(name: string, value: number[]): ShaderMaterial;
|
|
|
+ /**
|
|
|
+ * Set a vec4 array in the shader from a number array.
|
|
|
+ * @param name Define the name of the uniform as defined in the shader
|
|
|
+ * @param value Define the value to give to the uniform
|
|
|
+ * @return the material itself allowing "fluent" like uniform updates
|
|
|
+ */
|
|
|
+ setArray4(name: string, value: number[]): ShaderMaterial;
|
|
|
private _checkCache;
|
|
|
/**
|
|
|
* Specifies that the submesh is ready to be used
|
|
@@ -35258,7 +35274,7 @@ declare module "babylonjs/Audio/sound" {
|
|
|
/**
|
|
|
* Sets a dedicated volume for this sounds
|
|
|
* @param newVolume Define the new volume of the sound
|
|
|
- * @param time Define in how long the sound should be at this value
|
|
|
+ * @param time Define time for gradual change to new volume
|
|
|
*/
|
|
|
setVolume(newVolume: number, time?: number): void;
|
|
|
/**
|
|
@@ -52331,6 +52347,7 @@ declare module "babylonjs/Misc/basis" {
|
|
|
static GetInternalFormatFromBasisFormat(basisFormat: number): number;
|
|
|
private static _WorkerPromise;
|
|
|
private static _Worker;
|
|
|
+ private static _actionId;
|
|
|
private static _CreateWorkerAsync;
|
|
|
/**
|
|
|
* Transcodes a loaded image file to compressed pixel data
|
|
@@ -74904,6 +74921,7 @@ declare module BABYLON {
|
|
|
private _colors3;
|
|
|
private _colors3Arrays;
|
|
|
private _colors4;
|
|
|
+ private _colors4Arrays;
|
|
|
private _vectors2;
|
|
|
private _vectors3;
|
|
|
private _vectors4;
|
|
@@ -74912,6 +74930,7 @@ declare module BABYLON {
|
|
|
private _matrices2x2;
|
|
|
private _vectors2Arrays;
|
|
|
private _vectors3Arrays;
|
|
|
+ private _vectors4Arrays;
|
|
|
private _cachedWorldViewMatrix;
|
|
|
private _cachedWorldViewProjectionMatrix;
|
|
|
private _renderId;
|
|
@@ -75008,6 +75027,13 @@ declare module BABYLON {
|
|
|
*/
|
|
|
setColor4(name: string, value: Color4): ShaderMaterial;
|
|
|
/**
|
|
|
+ * Set a vec4 array in the shader from a Color4 array.
|
|
|
+ * @param name Define the name of the uniform as defined in the shader
|
|
|
+ * @param value Define the value to give to the uniform
|
|
|
+ * @return the material itself allowing "fluent" like uniform updates
|
|
|
+ */
|
|
|
+ setColor4Array(name: string, value: Color4[]): ShaderMaterial;
|
|
|
+ /**
|
|
|
* Set a vec2 in the shader from a Vector2.
|
|
|
* @param name Define the name of the uniform as defined in the shader
|
|
|
* @param value Define the value to give to the uniform
|
|
@@ -75063,6 +75089,13 @@ declare module BABYLON {
|
|
|
* @return the material itself allowing "fluent" like uniform updates
|
|
|
*/
|
|
|
setArray3(name: string, value: number[]): ShaderMaterial;
|
|
|
+ /**
|
|
|
+ * Set a vec4 array in the shader from a number array.
|
|
|
+ * @param name Define the name of the uniform as defined in the shader
|
|
|
+ * @param value Define the value to give to the uniform
|
|
|
+ * @return the material itself allowing "fluent" like uniform updates
|
|
|
+ */
|
|
|
+ setArray4(name: string, value: number[]): ShaderMaterial;
|
|
|
private _checkCache;
|
|
|
/**
|
|
|
* Specifies that the submesh is ready to be used
|
|
@@ -97042,7 +97075,7 @@ declare module BABYLON {
|
|
|
/**
|
|
|
* Sets a dedicated volume for this sounds
|
|
|
* @param newVolume Define the new volume of the sound
|
|
|
- * @param time Define in how long the sound should be at this value
|
|
|
+ * @param time Define time for gradual change to new volume
|
|
|
*/
|
|
|
setVolume(newVolume: number, time?: number): void;
|
|
|
/**
|
|
@@ -112826,6 +112859,7 @@ declare module BABYLON {
|
|
|
static GetInternalFormatFromBasisFormat(basisFormat: number): number;
|
|
|
private static _WorkerPromise;
|
|
|
private static _Worker;
|
|
|
+ private static _actionId;
|
|
|
private static _CreateWorkerAsync;
|
|
|
/**
|
|
|
* Transcodes a loaded image file to compressed pixel data
|