@babylonjs/core 9.5.1 → 9.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Engines/abstractEngine.js +2 -2
- package/Engines/abstractEngine.js.map +1 -1
- package/Lights/Clustered/clusteredLightContainer.js +1 -1
- package/Lights/Clustered/clusteredLightContainer.js.map +1 -1
- package/Materials/Background/backgroundMaterial.js +1 -0
- package/Materials/Background/backgroundMaterial.js.map +1 -1
- package/Materials/Node/Blocks/Dual/imageSourceBlock.d.ts +2 -0
- package/Materials/Node/Blocks/Dual/imageSourceBlock.js +14 -0
- package/Materials/Node/Blocks/Dual/imageSourceBlock.js.map +1 -1
- package/Materials/Node/Blocks/Dual/lightBlock.js +1 -1
- package/Materials/Node/Blocks/Dual/lightBlock.js.map +1 -1
- package/Materials/Node/Blocks/Dual/textureBlock.d.ts +2 -0
- package/Materials/Node/Blocks/Dual/textureBlock.js +19 -4
- package/Materials/Node/Blocks/Dual/textureBlock.js.map +1 -1
- package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js +11 -6
- package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js.map +1 -1
- package/Materials/PBR/openpbrMaterial.js +1 -0
- package/Materials/PBR/openpbrMaterial.js.map +1 -1
- package/Materials/PBR/pbrBaseMaterial.js +1 -0
- package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
- package/Materials/materialHelper.functions.d.ts +2 -1
- package/Materials/materialHelper.functions.js +8 -3
- package/Materials/materialHelper.functions.js.map +1 -1
- package/Materials/standardMaterial.js +1 -0
- package/Materials/standardMaterial.js.map +1 -1
- package/Meshes/Node/Blocks/bevelBlock.d.ts +52 -0
- package/Meshes/Node/Blocks/bevelBlock.js +1327 -0
- package/Meshes/Node/Blocks/bevelBlock.js.map +1 -0
- package/Meshes/Node/index.d.ts +1 -0
- package/Meshes/Node/index.js +1 -0
- package/Meshes/Node/index.js.map +1 -1
- package/Misc/tools.js +1 -1
- package/Misc/tools.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type NodeGeometryBuildState } from "../nodeGeometryBuildState.js";
|
|
2
|
+
import { NodeGeometryBlock } from "../nodeGeometryBlock.js";
|
|
3
|
+
import { type NodeGeometryConnectionPoint } from "../nodeGeometryBlockConnectionPoint.js";
|
|
4
|
+
/**
|
|
5
|
+
* Block used to bevel sharp edges in a geometry.
|
|
6
|
+
*/
|
|
7
|
+
export declare class BevelBlock extends NodeGeometryBlock {
|
|
8
|
+
/**
|
|
9
|
+
* Gets or sets a boolean indicating that this block can evaluate context.
|
|
10
|
+
* Build performance is improved when this value is set to false as the system will cache values instead of reevaluating everything per context change.
|
|
11
|
+
*/
|
|
12
|
+
evaluateContext: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a new BevelBlock.
|
|
15
|
+
* @param name defines the block name
|
|
16
|
+
*/
|
|
17
|
+
constructor(name: string);
|
|
18
|
+
/**
|
|
19
|
+
* Gets the current class name.
|
|
20
|
+
* @returns the class name
|
|
21
|
+
*/
|
|
22
|
+
getClassName(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the geometry input component.
|
|
25
|
+
*/
|
|
26
|
+
get geometry(): NodeGeometryConnectionPoint;
|
|
27
|
+
/**
|
|
28
|
+
* Gets the bevel amount input component.
|
|
29
|
+
*/
|
|
30
|
+
get amount(): NodeGeometryConnectionPoint;
|
|
31
|
+
/**
|
|
32
|
+
* Gets the bevel segment count input component.
|
|
33
|
+
*/
|
|
34
|
+
get segments(): NodeGeometryConnectionPoint;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the angle threshold input component in degrees.
|
|
37
|
+
*/
|
|
38
|
+
get angle(): NodeGeometryConnectionPoint;
|
|
39
|
+
/**
|
|
40
|
+
* Gets the geometry output component.
|
|
41
|
+
*/
|
|
42
|
+
get output(): NodeGeometryConnectionPoint;
|
|
43
|
+
protected _buildBlock(state: NodeGeometryBuildState): void;
|
|
44
|
+
protected _dumpPropertiesCode(): string;
|
|
45
|
+
/**
|
|
46
|
+
* Serializes this block in a JSON representation.
|
|
47
|
+
* @returns the serialized block object
|
|
48
|
+
*/
|
|
49
|
+
serialize(): any;
|
|
50
|
+
/** @internal */
|
|
51
|
+
_deserialize(serializationObject: any): void;
|
|
52
|
+
}
|