hilo3d 1.18.1-shadow.2 → 1.19.0
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/CHANGELOG.md +7 -7
- package/README.md +2 -2
- package/README_ZH.md +2 -2
- package/build/Hilo3d.js +2 -2
- package/build/Hilo3d.single.js +2 -2
- package/build/math.single.js +2 -2
- package/package.json +1 -1
- package/types/index.d.ts +18 -20
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -7274,8 +7274,24 @@ class PointLight extends Light {
|
|
|
7274
7274
|
className: string;
|
|
7275
7275
|
}
|
|
7276
7276
|
|
|
7277
|
+
/**
|
|
7278
|
+
* @param params
|
|
7279
|
+
* @param params.light
|
|
7280
|
+
* @param params.renderer
|
|
7281
|
+
* @param [params.cameraInfo]
|
|
7282
|
+
* @param params.width
|
|
7283
|
+
* @param params.height
|
|
7284
|
+
* @param [params.debug]
|
|
7285
|
+
*/
|
|
7277
7286
|
class LightShadow {
|
|
7278
|
-
constructor(
|
|
7287
|
+
constructor(params: {
|
|
7288
|
+
light: Light;
|
|
7289
|
+
renderer: WebGLRenderer;
|
|
7290
|
+
cameraInfo?: any;
|
|
7291
|
+
width: number;
|
|
7292
|
+
height: number;
|
|
7293
|
+
debug?: boolean;
|
|
7294
|
+
});
|
|
7279
7295
|
isLightShadow: boolean;
|
|
7280
7296
|
className: string;
|
|
7281
7297
|
light: Light;
|
|
@@ -7286,25 +7302,7 @@ class LightShadow {
|
|
|
7286
7302
|
height: number;
|
|
7287
7303
|
maxBias: number;
|
|
7288
7304
|
minBias: number;
|
|
7289
|
-
|
|
7290
|
-
* @param params
|
|
7291
|
-
* @param params.light
|
|
7292
|
-
* @param params.renderer
|
|
7293
|
-
* @param params.renderer
|
|
7294
|
-
* @param [params.cameraInfo]
|
|
7295
|
-
* @param params.width
|
|
7296
|
-
* @param params.height
|
|
7297
|
-
* @param [params.debug]
|
|
7298
|
-
*/
|
|
7299
|
-
constructor(params: {
|
|
7300
|
-
light: Light;
|
|
7301
|
-
renderer: WebGLRenderer;
|
|
7302
|
-
renderer: WebGLRenderer;
|
|
7303
|
-
cameraInfo?: any;
|
|
7304
|
-
width: number;
|
|
7305
|
-
height: number;
|
|
7306
|
-
debug?: boolean;
|
|
7307
|
-
}): void;
|
|
7305
|
+
cameraInfo: any;
|
|
7308
7306
|
}
|
|
7309
7307
|
|
|
7310
7308
|
/**
|