|
@@ -42441,6 +42441,10 @@ declare module "babylonjs/Cameras/VR/vrExperienceHelper" {
|
|
*/
|
|
*/
|
|
updateGazeTrackerColor: boolean;
|
|
updateGazeTrackerColor: boolean;
|
|
/**
|
|
/**
|
|
|
|
+ * If the controller laser color should be updated when selecting meshes
|
|
|
|
+ */
|
|
|
|
+ updateControllerLaserColor: boolean;
|
|
|
|
+ /**
|
|
* The gaze tracking mesh corresponding to the left controller
|
|
* The gaze tracking mesh corresponding to the left controller
|
|
*/
|
|
*/
|
|
readonly leftControllerGazeTrackerMesh: Nullable<Mesh>;
|
|
readonly leftControllerGazeTrackerMesh: Nullable<Mesh>;
|
|
@@ -45961,7 +45965,11 @@ declare module "babylonjs/Engines/nativeEngine" {
|
|
*/
|
|
*/
|
|
createCubeTexture(rootUrl: string, scene: Nullable<Scene>, files: Nullable<string[]>, noMipmap?: boolean, onLoad?: Nullable<(data?: any) => void>, onError?: Nullable<(message?: string, exception?: any) => void>, format?: number, forcedExtension?: any, createPolynomials?: boolean, lodScale?: number, lodOffset?: number, fallback?: Nullable<InternalTexture>): InternalTexture;
|
|
createCubeTexture(rootUrl: string, scene: Nullable<Scene>, files: Nullable<string[]>, noMipmap?: boolean, onLoad?: Nullable<(data?: any) => void>, onError?: Nullable<(message?: string, exception?: any) => void>, format?: number, forcedExtension?: any, createPolynomials?: boolean, lodScale?: number, lodOffset?: number, fallback?: Nullable<InternalTexture>): InternalTexture;
|
|
private _getSamplingFilter;
|
|
private _getSamplingFilter;
|
|
- createRenderTargetTexture(size: any, options: boolean | RenderTargetCreationOptions): InternalTexture;
|
|
|
|
|
|
+ private static _GetNativeTextureFormat;
|
|
|
|
+ createRenderTargetTexture(size: number | {
|
|
|
|
+ width: number;
|
|
|
|
+ height: number;
|
|
|
|
+ }, options: boolean | RenderTargetCreationOptions): InternalTexture;
|
|
updateTextureSamplingMode(samplingMode: number, texture: InternalTexture): void;
|
|
updateTextureSamplingMode(samplingMode: number, texture: InternalTexture): void;
|
|
bindFramebuffer(texture: InternalTexture, faceIndex?: number, requiredWidth?: number, requiredHeight?: number, forceFullscreenViewport?: boolean): void;
|
|
bindFramebuffer(texture: InternalTexture, faceIndex?: number, requiredWidth?: number, requiredHeight?: number, forceFullscreenViewport?: boolean): void;
|
|
unBindFramebuffer(texture: InternalTexture, disableGenerateMipMaps?: boolean, onBeforeUnbind?: () => void): void;
|
|
unBindFramebuffer(texture: InternalTexture, disableGenerateMipMaps?: boolean, onBeforeUnbind?: () => void): void;
|
|
@@ -47784,6 +47792,10 @@ declare module "babylonjs/Helpers/photoDome" {
|
|
*/
|
|
*/
|
|
protected _mesh: Mesh;
|
|
protected _mesh: Mesh;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the mesh used for the skybox.
|
|
|
|
+ */
|
|
|
|
+ readonly mesh: Mesh;
|
|
|
|
+ /**
|
|
* The current fov(field of view) multiplier, 0.0 - 2.0. Defaults to 1.0. Lower values "zoom in" and higher values "zoom out".
|
|
* The current fov(field of view) multiplier, 0.0 - 2.0. Defaults to 1.0. Lower values "zoom in" and higher values "zoom out".
|
|
* Also see the options.resolution property.
|
|
* Also see the options.resolution property.
|
|
*/
|
|
*/
|
|
@@ -54679,6 +54691,8 @@ declare module "babylonjs/Materials/Node/nodeMaterial" {
|
|
SAMPLER3DGREENDEPTH: boolean;
|
|
SAMPLER3DGREENDEPTH: boolean;
|
|
SAMPLER3DBGRMAP: boolean;
|
|
SAMPLER3DBGRMAP: boolean;
|
|
IMAGEPROCESSINGPOSTPROCESS: boolean;
|
|
IMAGEPROCESSINGPOSTPROCESS: boolean;
|
|
|
|
+ /** MISC. */
|
|
|
|
+ BUMPDIRECTUV: number;
|
|
constructor();
|
|
constructor();
|
|
setValue(name: string, value: boolean): void;
|
|
setValue(name: string, value: boolean): void;
|
|
}
|
|
}
|
|
@@ -56041,10 +56055,18 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/perturbNormalBlock" {
|
|
import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
import { NodeMaterialConnectionPoint } from "babylonjs/Materials/Node/nodeMaterialBlockConnectionPoint";
|
|
import { NodeMaterial, NodeMaterialDefines } from "babylonjs/Materials/Node/nodeMaterial";
|
|
import { NodeMaterial, NodeMaterialDefines } from "babylonjs/Materials/Node/nodeMaterial";
|
|
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
import { AbstractMesh } from "babylonjs/Meshes/abstractMesh";
|
|
|
|
+ import { Effect } from "babylonjs/Materials/effect";
|
|
|
|
+ import { Mesh } from "babylonjs/Meshes/mesh";
|
|
|
|
+ import { Scene } from "babylonjs/scene";
|
|
/**
|
|
/**
|
|
* Block used to pertub normals based on a normal map
|
|
* Block used to pertub normals based on a normal map
|
|
*/
|
|
*/
|
|
export class PerturbNormalBlock extends NodeMaterialBlock {
|
|
export class PerturbNormalBlock extends NodeMaterialBlock {
|
|
|
|
+ private _tangentSpaceParameterName;
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on X axis */
|
|
|
|
+ invertX: boolean;
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on Y axis */
|
|
|
|
+ invertY: boolean;
|
|
/**
|
|
/**
|
|
* Create a new PerturbNormalBlock
|
|
* Create a new PerturbNormalBlock
|
|
* @param name defines the block name
|
|
* @param name defines the block name
|
|
@@ -56080,8 +56102,12 @@ declare module "babylonjs/Materials/Node/Blocks/Fragment/perturbNormalBlock" {
|
|
*/
|
|
*/
|
|
readonly output: NodeMaterialConnectionPoint;
|
|
readonly output: NodeMaterialConnectionPoint;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
|
|
+ bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
autoConfigure(material: NodeMaterial): void;
|
|
autoConfigure(material: NodeMaterial): void;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
|
+ protected _dumpPropertiesCode(): string;
|
|
|
|
+ serialize(): any;
|
|
|
|
+ _deserialize(serializationObject: any, scene: Scene, rootUrl: string): void;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module "babylonjs/Materials/Node/Blocks/Fragment/index" {
|
|
declare module "babylonjs/Materials/Node/Blocks/Fragment/index" {
|
|
@@ -106583,6 +106609,10 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
updateGazeTrackerColor: boolean;
|
|
updateGazeTrackerColor: boolean;
|
|
/**
|
|
/**
|
|
|
|
+ * If the controller laser color should be updated when selecting meshes
|
|
|
|
+ */
|
|
|
|
+ updateControllerLaserColor: boolean;
|
|
|
|
+ /**
|
|
* The gaze tracking mesh corresponding to the left controller
|
|
* The gaze tracking mesh corresponding to the left controller
|
|
*/
|
|
*/
|
|
readonly leftControllerGazeTrackerMesh: Nullable<Mesh>;
|
|
readonly leftControllerGazeTrackerMesh: Nullable<Mesh>;
|
|
@@ -109774,7 +109804,11 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
createCubeTexture(rootUrl: string, scene: Nullable<Scene>, files: Nullable<string[]>, noMipmap?: boolean, onLoad?: Nullable<(data?: any) => void>, onError?: Nullable<(message?: string, exception?: any) => void>, format?: number, forcedExtension?: any, createPolynomials?: boolean, lodScale?: number, lodOffset?: number, fallback?: Nullable<InternalTexture>): InternalTexture;
|
|
createCubeTexture(rootUrl: string, scene: Nullable<Scene>, files: Nullable<string[]>, noMipmap?: boolean, onLoad?: Nullable<(data?: any) => void>, onError?: Nullable<(message?: string, exception?: any) => void>, format?: number, forcedExtension?: any, createPolynomials?: boolean, lodScale?: number, lodOffset?: number, fallback?: Nullable<InternalTexture>): InternalTexture;
|
|
private _getSamplingFilter;
|
|
private _getSamplingFilter;
|
|
- createRenderTargetTexture(size: any, options: boolean | RenderTargetCreationOptions): InternalTexture;
|
|
|
|
|
|
+ private static _GetNativeTextureFormat;
|
|
|
|
+ createRenderTargetTexture(size: number | {
|
|
|
|
+ width: number;
|
|
|
|
+ height: number;
|
|
|
|
+ }, options: boolean | RenderTargetCreationOptions): InternalTexture;
|
|
updateTextureSamplingMode(samplingMode: number, texture: InternalTexture): void;
|
|
updateTextureSamplingMode(samplingMode: number, texture: InternalTexture): void;
|
|
bindFramebuffer(texture: InternalTexture, faceIndex?: number, requiredWidth?: number, requiredHeight?: number, forceFullscreenViewport?: boolean): void;
|
|
bindFramebuffer(texture: InternalTexture, faceIndex?: number, requiredWidth?: number, requiredHeight?: number, forceFullscreenViewport?: boolean): void;
|
|
unBindFramebuffer(texture: InternalTexture, disableGenerateMipMaps?: boolean, onBeforeUnbind?: () => void): void;
|
|
unBindFramebuffer(texture: InternalTexture, disableGenerateMipMaps?: boolean, onBeforeUnbind?: () => void): void;
|
|
@@ -111400,6 +111434,10 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
protected _mesh: Mesh;
|
|
protected _mesh: Mesh;
|
|
/**
|
|
/**
|
|
|
|
+ * Gets the mesh used for the skybox.
|
|
|
|
+ */
|
|
|
|
+ readonly mesh: Mesh;
|
|
|
|
+ /**
|
|
* The current fov(field of view) multiplier, 0.0 - 2.0. Defaults to 1.0. Lower values "zoom in" and higher values "zoom out".
|
|
* The current fov(field of view) multiplier, 0.0 - 2.0. Defaults to 1.0. Lower values "zoom in" and higher values "zoom out".
|
|
* Also see the options.resolution property.
|
|
* Also see the options.resolution property.
|
|
*/
|
|
*/
|
|
@@ -117796,6 +117834,8 @@ declare module BABYLON {
|
|
SAMPLER3DGREENDEPTH: boolean;
|
|
SAMPLER3DGREENDEPTH: boolean;
|
|
SAMPLER3DBGRMAP: boolean;
|
|
SAMPLER3DBGRMAP: boolean;
|
|
IMAGEPROCESSINGPOSTPROCESS: boolean;
|
|
IMAGEPROCESSINGPOSTPROCESS: boolean;
|
|
|
|
+ /** MISC. */
|
|
|
|
+ BUMPDIRECTUV: number;
|
|
constructor();
|
|
constructor();
|
|
setValue(name: string, value: boolean): void;
|
|
setValue(name: string, value: boolean): void;
|
|
}
|
|
}
|
|
@@ -119066,6 +119106,11 @@ declare module BABYLON {
|
|
* Block used to pertub normals based on a normal map
|
|
* Block used to pertub normals based on a normal map
|
|
*/
|
|
*/
|
|
export class PerturbNormalBlock extends NodeMaterialBlock {
|
|
export class PerturbNormalBlock extends NodeMaterialBlock {
|
|
|
|
+ private _tangentSpaceParameterName;
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on X axis */
|
|
|
|
+ invertX: boolean;
|
|
|
|
+ /** Gets or sets a boolean indicating that normal should be inverted on Y axis */
|
|
|
|
+ invertY: boolean;
|
|
/**
|
|
/**
|
|
* Create a new PerturbNormalBlock
|
|
* Create a new PerturbNormalBlock
|
|
* @param name defines the block name
|
|
* @param name defines the block name
|
|
@@ -119101,8 +119146,12 @@ declare module BABYLON {
|
|
*/
|
|
*/
|
|
readonly output: NodeMaterialConnectionPoint;
|
|
readonly output: NodeMaterialConnectionPoint;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
prepareDefines(mesh: AbstractMesh, nodeMaterial: NodeMaterial, defines: NodeMaterialDefines): void;
|
|
|
|
+ bind(effect: Effect, nodeMaterial: NodeMaterial, mesh?: Mesh): void;
|
|
autoConfigure(material: NodeMaterial): void;
|
|
autoConfigure(material: NodeMaterial): void;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
protected _buildBlock(state: NodeMaterialBuildState): this;
|
|
|
|
+ protected _dumpPropertiesCode(): string;
|
|
|
|
+ serialize(): any;
|
|
|
|
+ _deserialize(serializationObject: any, scene: Scene, rootUrl: string): void;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
declare module BABYLON {
|
|
declare module BABYLON {
|