lythreeframe 1.0.16 → 1.0.18

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.
@@ -2065,11 +2065,15 @@ class ThreeJsApp {
2065
2065
  get controllerClass() {
2066
2066
  return Controller;
2067
2067
  }
2068
+ get appParam() {
2069
+ return this._appParam;
2070
+ }
2068
2071
  get onCameraChangedDelegate() {
2069
2072
  return this._onCameraChangedDelegate;
2070
2073
  }
2071
2074
  constructor(elementId, appParam = DefaultAppParam) {
2072
2075
  this._onCameraChangedDelegate = new Delegate();
2076
+ this._appParam = appParam;
2073
2077
  this._clock = new three.Clock();
2074
2078
  this._camera = CameraFactory.createCamera(appParam.cameraParam ? appParam.cameraParam : DefaultCameraParam);
2075
2079
  this._world = new this.worldClass(this);
@@ -2063,11 +2063,15 @@ class ThreeJsApp {
2063
2063
  get controllerClass() {
2064
2064
  return Controller;
2065
2065
  }
2066
+ get appParam() {
2067
+ return this._appParam;
2068
+ }
2066
2069
  get onCameraChangedDelegate() {
2067
2070
  return this._onCameraChangedDelegate;
2068
2071
  }
2069
2072
  constructor(elementId, appParam = DefaultAppParam) {
2070
2073
  this._onCameraChangedDelegate = new Delegate();
2074
+ this._appParam = appParam;
2071
2075
  this._clock = new Clock();
2072
2076
  this._camera = CameraFactory.createCamera(appParam.cameraParam ? appParam.cameraParam : DefaultCameraParam);
2073
2077
  this._world = new this.worldClass(this);
@@ -28,6 +28,8 @@ export declare class ThreeJsApp {
28
28
  protected _world: World;
29
29
  protected _viewport: Viewport;
30
30
  protected _controller: Controller;
31
+ get appParam(): AppParam;
32
+ protected _appParam: AppParam;
31
33
  get onCameraChangedDelegate(): Delegate<[void]>;
32
34
  protected _onCameraChangedDelegate: Delegate<[void]>;
33
35
  constructor(elementId: string, appParam?: AppParam);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lythreeframe",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "Three.js 封装",
5
5
  "main": "dist/bundle.cjs.js",
6
6
  "module": "dist/bundle.esm.js",