endset_three_editor 0.10.36 → 0.10.37

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.
@@ -18,9 +18,6 @@ export declare function addSphere(): THREE.Mesh<THREE.SphereGeometry, THREE.Mesh
18
18
  * 添加一个平行光
19
19
  */
20
20
  export declare function addDirectionalLight(): void;
21
- /**
22
- * 添加水面效果
23
- */
24
21
  /**
25
22
  * 使用 Three.js Water 对象生成真实反射/折射水体
26
23
  */
@@ -29,6 +26,8 @@ export declare function addWater(options?: {
29
26
  height?: number;
30
27
  color?: string;
31
28
  scale?: number;
29
+ /** 浑浊度(Water.js alpha,0~1,越大越浑浊),默认 WATER_DEFAULT_ALPHA */
30
+ alpha?: number;
32
31
  }): Water;
33
32
  /**
34
33
  * 使用 Three.js Water 对象生成圆柱体水体
@@ -40,6 +39,8 @@ export declare function addWaterCylinder(options?: {
40
39
  height?: number;
41
40
  color?: string;
42
41
  scale?: number;
42
+ /** 浑浊度(Water.js alpha,0~1,越大越浑浊),默认 WATER_DEFAULT_ALPHA */
43
+ alpha?: number;
43
44
  }): Water;
44
45
  /**
45
46
  * 切换 Water.js 水体的实时反射(性能优化)