|
@@ -8535,7 +8535,7 @@ declare module "babylonjs/Cameras/targetCamera" {
|
|
*/
|
|
*/
|
|
speed: number;
|
|
speed: number;
|
|
/**
|
|
/**
|
|
- * Add cconstraint to the camera to prevent it to move freely in all directions and
|
|
|
|
|
|
+ * Add constraint to the camera to prevent it to move freely in all directions and
|
|
* around all axis.
|
|
* around all axis.
|
|
*/
|
|
*/
|
|
noRotationConstraint: boolean;
|
|
noRotationConstraint: boolean;
|
|
@@ -15248,6 +15248,7 @@ declare module "babylonjs/Engines/Extensions/engine.webVR" {
|
|
import { Nullable } from "babylonjs/types";
|
|
import { Nullable } from "babylonjs/types";
|
|
import { Size } from "babylonjs/Maths/math.size";
|
|
import { Size } from "babylonjs/Maths/math.size";
|
|
import { Observable } from "babylonjs/Misc/observable";
|
|
import { Observable } from "babylonjs/Misc/observable";
|
|
|
|
+ import { WebVROptions } from "babylonjs/Cameras/VR/webVRCamera";
|
|
/**
|
|
/**
|
|
* Interface used to define additional presentation attributes
|
|
* Interface used to define additional presentation attributes
|
|
*/
|
|
*/
|
|
@@ -15327,9 +15328,10 @@ declare module "babylonjs/Engines/Extensions/engine.webVR" {
|
|
/**
|
|
/**
|
|
* Call this function to switch to webVR mode
|
|
* Call this function to switch to webVR mode
|
|
* Will do nothing if webVR is not supported or if there is no webVR device
|
|
* Will do nothing if webVR is not supported or if there is no webVR device
|
|
|
|
+ * @param options the webvr options provided to the camera. mainly used for multiview
|
|
* @see http://doc.babylonjs.com/how_to/webvr_camera
|
|
* @see http://doc.babylonjs.com/how_to/webvr_camera
|
|
*/
|
|
*/
|
|
- enableVR(): void;
|
|
|
|
|
|
+ enableVR(options: WebVROptions): void;
|
|
/** @hidden */
|
|
/** @hidden */
|
|
_onVRFullScreenTriggered(): void;
|
|
_onVRFullScreenTriggered(): void;
|
|
}
|
|
}
|
|
@@ -29813,6 +29815,8 @@ declare module "babylonjs/Engines/engineCapabilities" {
|
|
maxCombinedTexturesImageUnits: number;
|
|
maxCombinedTexturesImageUnits: number;
|
|
/** Maximum texture size */
|
|
/** Maximum texture size */
|
|
maxTextureSize: number;
|
|
maxTextureSize: number;
|
|
|
|
+ /** Maximum texture samples */
|
|
|
|
+ maxSamples?: number;
|
|
/** Maximum cube texture size */
|
|
/** Maximum cube texture size */
|
|
maxCubemapTextureSize: number;
|
|
maxCubemapTextureSize: number;
|
|
/** Maximum render texture size */
|
|
/** Maximum render texture size */
|
|
@@ -29877,6 +29881,8 @@ declare module "babylonjs/Engines/engineCapabilities" {
|
|
canUseTimestampForTimerQuery: boolean;
|
|
canUseTimestampForTimerQuery: boolean;
|
|
/** Defines if multiview is supported (https://www.khronos.org/registry/webgl/extensions/WEBGL_multiview/) */
|
|
/** Defines if multiview is supported (https://www.khronos.org/registry/webgl/extensions/WEBGL_multiview/) */
|
|
multiview?: any;
|
|
multiview?: any;
|
|
|
|
+ /** Defines if oculus multiview is supported (https://developer.oculus.com/documentation/oculus-browser/latest/concepts/browser-multiview/) */
|
|
|
|
+ oculusMultiview?: any;
|
|
/** Function used to let the system compiles shaders in background */
|
|
/** Function used to let the system compiles shaders in background */
|
|
parallelShaderCompile?: {
|
|
parallelShaderCompile?: {
|
|
COMPLETION_STATUS_KHR: number;
|
|
COMPLETION_STATUS_KHR: number;
|
|
@@ -59159,6 +59165,83 @@ declare module "babylonjs/Materials/Node/Blocks/nLerpBlock" {
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+declare module "babylonjs/Materials/Node/Blocks/worleyNoise3DBlock" {
|
|
|
|
+ import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
|
|
+ import { NodeMaterialBuildState } from "babylonjs/Materials/Node/nodeMaterialBuildState";
|
|
|
|
+ import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
|
|
+ import { Scene } from "babylonjs/scene";
|
|
|
|
+ /**
|
|
|
|
+ * block used to Generate a Worley Noise 3D Noise Pattern
|
|
|
|
+ */
|
|
|
|
+ export class WorleyNoise3DBlock extends NodeMaterialBlock {
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on X axis */
|
|
|
|
+ manhattanDistance: boolean;
|
|
|
|
+ /**
|
|
|
|
+ * Creates a new WorleyNoise3DBlock
|
|
|
|
+ * @param name defines the block name
|
|
|
|
+ */
|
|
|
|
+ constructor(name: string);
|
|
|
|
+ /**
|
|
|
|
+ * Gets the current class name
|
|
|
|
+ * @returns the class name
|
|
|
|
+ */
|
|
|
|
+ getClassName(): string;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the position input component
|
|
|
|
+ */
|
|
|
|
+ readonly position: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the jitter input component
|
|
|
|
+ */
|
|
|
|
+ readonly jitter: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this | undefined;
|
|
|
|
+ /**
|
|
|
|
+ * Exposes the properties to the UI?
|
|
|
|
+ */
|
|
|
|
+ protected _dumpPropertiesCode(): string;
|
|
|
|
+ /**
|
|
|
|
+ * Exposes the properties to the Seralize?
|
|
|
|
+ */
|
|
|
|
+ serialize(): any;
|
|
|
|
+ /**
|
|
|
|
+ * Exposes the properties to the deseralize?
|
|
|
|
+ */
|
|
|
|
+ _deserialize(serializationObject: any, scene: Scene, rootUrl: string): void;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+declare module "babylonjs/Materials/Node/Blocks/simplexPerlin3DBlock" {
|
|
|
|
+ import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
|
|
+ import { NodeMaterialBuildState } from "babylonjs/Materials/Node/nodeMaterialBuildState";
|
|
|
|
+ import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
|
|
+ /**
|
|
|
|
+ * block used to Generate a Simplex Perlin 3d Noise Pattern
|
|
|
|
+ */
|
|
|
|
+ export class SimplexPerlin3DBlock extends NodeMaterialBlock {
|
|
|
|
+ /**
|
|
|
|
+ * Creates a new SimplexPerlin3DBlock
|
|
|
|
+ * @param name defines the block name
|
|
|
|
+ */
|
|
|
|
+ constructor(name: string);
|
|
|
|
+ /**
|
|
|
|
+ * Gets the current class name
|
|
|
|
+ * @returns the class name
|
|
|
|
+ */
|
|
|
|
+ getClassName(): string;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the position operand input component
|
|
|
|
+ */
|
|
|
|
+ readonly position: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this | undefined;
|
|
|
|
+ }
|
|
|
|
+}
|
|
declare module "babylonjs/Materials/Node/Blocks/index" {
|
|
declare module "babylonjs/Materials/Node/Blocks/index" {
|
|
export * from "babylonjs/Materials/Node/Blocks/Vertex/index";
|
|
export * from "babylonjs/Materials/Node/Blocks/Vertex/index";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/index";
|
|
export * from "babylonjs/Materials/Node/Blocks/Fragment/index";
|
|
@@ -59200,6 +59283,8 @@ declare module "babylonjs/Materials/Node/Blocks/index" {
|
|
export * from "babylonjs/Materials/Node/Blocks/waveBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/waveBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/gradientBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/gradientBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/nLerpBlock";
|
|
export * from "babylonjs/Materials/Node/Blocks/nLerpBlock";
|
|
|
|
+ export * from "babylonjs/Materials/Node/Blocks/worleyNoise3DBlock";
|
|
|
|
+ export * from "babylonjs/Materials/Node/Blocks/simplexPerlin3DBlock";
|
|
}
|
|
}
|
|
declare module "babylonjs/Materials/Node/Optimizers/index" {
|
|
declare module "babylonjs/Materials/Node/Optimizers/index" {
|
|
export * from "babylonjs/Materials/Node/Optimizers/nodeMaterialOptimizer";
|
|
export * from "babylonjs/Materials/Node/Optimizers/nodeMaterialOptimizer";
|
|
@@ -76609,7 +76694,7 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
speed: number;
|
|
speed: number;
|
|
/**
|
|
/**
|
|
- * Add cconstraint to the camera to prevent it to move freely in all directions and
|
|
|
|
|
|
+ * Add constraint to the camera to prevent it to move freely in all directions and
|
|
* around all axis.
|
|
* around all axis.
|
|
*/
|
|
*/
|
|
noRotationConstraint: boolean;
|
|
noRotationConstraint: boolean;
|
|
@@ -83156,9 +83241,10 @@ declare module BABYLON {
|
|
/**
|
|
/**
|
|
* Call this function to switch to webVR mode
|
|
* Call this function to switch to webVR mode
|
|
* Will do nothing if webVR is not supported or if there is no webVR device
|
|
* Will do nothing if webVR is not supported or if there is no webVR device
|
|
|
|
+ * @param options the webvr options provided to the camera. mainly used for multiview
|
|
* @see http://doc.babylonjs.com/how_to/webvr_camera
|
|
* @see http://doc.babylonjs.com/how_to/webvr_camera
|
|
*/
|
|
*/
|
|
- enableVR(): void;
|
|
|
|
|
|
+ enableVR(options: WebVROptions): void;
|
|
/** @hidden */
|
|
/** @hidden */
|
|
_onVRFullScreenTriggered(): void;
|
|
_onVRFullScreenTriggered(): void;
|
|
}
|
|
}
|
|
@@ -97149,6 +97235,8 @@ declare module BABYLON {
|
|
maxCombinedTexturesImageUnits: number;
|
|
maxCombinedTexturesImageUnits: number;
|
|
/** Maximum texture size */
|
|
/** Maximum texture size */
|
|
maxTextureSize: number;
|
|
maxTextureSize: number;
|
|
|
|
+ /** Maximum texture samples */
|
|
|
|
+ maxSamples?: number;
|
|
/** Maximum cube texture size */
|
|
/** Maximum cube texture size */
|
|
maxCubemapTextureSize: number;
|
|
maxCubemapTextureSize: number;
|
|
/** Maximum render texture size */
|
|
/** Maximum render texture size */
|
|
@@ -97213,6 +97301,8 @@ declare module BABYLON {
|
|
canUseTimestampForTimerQuery: boolean;
|
|
canUseTimestampForTimerQuery: boolean;
|
|
/** Defines if multiview is supported (https://www.khronos.org/registry/webgl/extensions/WEBGL_multiview/) */
|
|
/** Defines if multiview is supported (https://www.khronos.org/registry/webgl/extensions/WEBGL_multiview/) */
|
|
multiview?: any;
|
|
multiview?: any;
|
|
|
|
+ /** Defines if oculus multiview is supported (https://developer.oculus.com/documentation/oculus-browser/latest/concepts/browser-multiview/) */
|
|
|
|
+ oculusMultiview?: any;
|
|
/** Function used to let the system compiles shaders in background */
|
|
/** Function used to let the system compiles shaders in background */
|
|
parallelShaderCompile?: {
|
|
parallelShaderCompile?: {
|
|
COMPLETION_STATUS_KHR: number;
|
|
COMPLETION_STATUS_KHR: number;
|
|
@@ -124526,6 +124616,76 @@ declare module BABYLON {
|
|
}
|
|
}
|
|
declare module BABYLON {
|
|
declare module BABYLON {
|
|
/**
|
|
/**
|
|
|
|
+ * block used to Generate a Worley Noise 3D Noise Pattern
|
|
|
|
+ */
|
|
|
|
+ export class WorleyNoise3DBlock extends NodeMaterialBlock {
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on X axis */
|
|
|
|
+ manhattanDistance: boolean;
|
|
|
|
+ /**
|
|
|
|
+ * Creates a new WorleyNoise3DBlock
|
|
|
|
+ * @param name defines the block name
|
|
|
|
+ */
|
|
|
|
+ constructor(name: string);
|
|
|
|
+ /**
|
|
|
|
+ * Gets the current class name
|
|
|
|
+ * @returns the class name
|
|
|
|
+ */
|
|
|
|
+ getClassName(): string;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the position input component
|
|
|
|
+ */
|
|
|
|
+ readonly position: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the jitter input component
|
|
|
|
+ */
|
|
|
|
+ readonly jitter: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this | undefined;
|
|
|
|
+ /**
|
|
|
|
+ * Exposes the properties to the UI?
|
|
|
|
+ */
|
|
|
|
+ protected _dumpPropertiesCode(): string;
|
|
|
|
+ /**
|
|
|
|
+ * Exposes the properties to the Seralize?
|
|
|
|
+ */
|
|
|
|
+ serialize(): any;
|
|
|
|
+ /**
|
|
|
|
+ * Exposes the properties to the deseralize?
|
|
|
|
+ */
|
|
|
|
+ _deserialize(serializationObject: any, scene: Scene, rootUrl: string): void;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+declare module BABYLON {
|
|
|
|
+ /**
|
|
|
|
+ * block used to Generate a Simplex Perlin 3d Noise Pattern
|
|
|
|
+ */
|
|
|
|
+ export class SimplexPerlin3DBlock extends NodeMaterialBlock {
|
|
|
|
+ /**
|
|
|
|
+ * Creates a new SimplexPerlin3DBlock
|
|
|
|
+ * @param name defines the block name
|
|
|
|
+ */
|
|
|
|
+ constructor(name: string);
|
|
|
|
+ /**
|
|
|
|
+ * Gets the current class name
|
|
|
|
+ * @returns the class name
|
|
|
|
+ */
|
|
|
|
+ getClassName(): string;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the position operand input component
|
|
|
|
+ */
|
|
|
|
+ readonly position: NodeMaterialConnectionPoint;
|
|
|
|
+ /**
|
|
|
|
+ * Gets the output component
|
|
|
|
+ */
|
|
|
|
+ readonly output: NodeMaterialConnectionPoint;
|
|
|
|
+ protected _buildBlock(state: NodeMaterialBuildState): this | undefined;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+declare module BABYLON {
|
|
|
|
+ /**
|
|
* Effect Render Options
|
|
* Effect Render Options
|
|
*/
|
|
*/
|
|
export interface IEffectRendererOptions {
|
|
export interface IEffectRendererOptions {
|