lythreeframe 1.2.4 → 1.2.5
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/dist/bundle.cjs.js
CHANGED
|
@@ -2892,7 +2892,6 @@ class LightComponent extends SceneComponent {
|
|
|
2892
2892
|
}
|
|
2893
2893
|
constructor(app, uuid) {
|
|
2894
2894
|
super(app, uuid);
|
|
2895
|
-
this.obj = null;
|
|
2896
2895
|
}
|
|
2897
2896
|
}
|
|
2898
2897
|
|
|
@@ -2917,7 +2916,6 @@ class DirectionalLightComponent extends LightComponent {
|
|
|
2917
2916
|
}
|
|
2918
2917
|
constructor(app, color = 0xffffff, intensity = 10, uuid) {
|
|
2919
2918
|
super(app, uuid);
|
|
2920
|
-
this.obj = null;
|
|
2921
2919
|
this.threeObject.color.set(color);
|
|
2922
2920
|
this.threeObject.intensity = intensity;
|
|
2923
2921
|
}
|
package/dist/bundle.esm.js
CHANGED
|
@@ -2890,7 +2890,6 @@ class LightComponent extends SceneComponent {
|
|
|
2890
2890
|
}
|
|
2891
2891
|
constructor(app, uuid) {
|
|
2892
2892
|
super(app, uuid);
|
|
2893
|
-
this.obj = null;
|
|
2894
2893
|
}
|
|
2895
2894
|
}
|
|
2896
2895
|
|
|
@@ -2915,7 +2914,6 @@ class DirectionalLightComponent extends LightComponent {
|
|
|
2915
2914
|
}
|
|
2916
2915
|
constructor(app, color = 0xffffff, intensity = 10, uuid) {
|
|
2917
2916
|
super(app, uuid);
|
|
2918
|
-
this.obj = null;
|
|
2919
2917
|
this.threeObject.color.set(color);
|
|
2920
2918
|
this.threeObject.intensity = intensity;
|
|
2921
2919
|
}
|
package/dist/lythreeframe/Object/Components/Light/DirectionalLight/DirectionalLightComponent.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export declare class DirectionalLightComponent extends LightComponent {
|
|
|
7
7
|
set threeObject(newThreeObject: DirectionalLight);
|
|
8
8
|
get castShadow(): boolean;
|
|
9
9
|
set castShadow(value: boolean);
|
|
10
|
-
protected obj: DirectionalLight | null;
|
|
11
10
|
constructor(app: ThreeJsApp, color?: ColorRepresentation, intensity?: number, uuid?: string);
|
|
12
11
|
protected createDefaultObject(): DirectionalLight;
|
|
13
12
|
setPosition(...args: [Vector3] | [number, number, number]): void;
|
|
@@ -8,6 +8,5 @@ export declare abstract class LightComponent extends SceneComponent {
|
|
|
8
8
|
set color(color: ColorRepresentation);
|
|
9
9
|
get intensity(): number;
|
|
10
10
|
set intensity(intensity: number);
|
|
11
|
-
protected obj: Light | null;
|
|
12
11
|
protected constructor(app: ThreeJsApp, uuid?: string);
|
|
13
12
|
}
|