mx3d 2025.5.29 → 2025.5.31

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/index.d.ts CHANGED
@@ -130,10 +130,10 @@ declare class CameraController {
130
130
  orthographic(_object?: IBase): void;
131
131
  startAutoRotation(_autoRotationSpeed?: number): void;
132
132
  stopAutoRotation(): void;
133
- perspective(_object?: IBase): void;
134
- flyTo(_Sight?: Sight, _sheep?: number): void;
133
+ perspective(_object?: IBase): Promise<void>;
134
+ flyTo(_Sight?: Sight, _sheep?: number): Promise<void>;
135
135
  flyToObject(_object: IObject, _sheep?: number): void;
136
- lookToTheFront(_object: IObject, _sheep?: number): void;
136
+ lookToTheFront(_object: IObject, _sheep?: number): Promise<void>;
137
137
  getSightJson(): string;
138
138
  private computeCameraView;
139
139
  _wheel(p: any): void;
@@ -201,10 +201,10 @@ declare class Project {
201
201
  findObjectsByCustomType(_customType: string, queryParameters?: {
202
202
  isCurrent: boolean;
203
203
  isEnabled: boolean;
204
- }): Array<IBase>;
204
+ }): Array<IObject>;
205
205
  findObjectsByType(_type: ObjectType): Array<IBase>;
206
206
  computeSight(_objs: Array<IBase>): any;
207
- switchLevel(_id?: string, _isFocus?: boolean): void;
207
+ switchLevel(_id?: string, _isFocus?: boolean): Promise<void>;
208
208
  goBack(): void;
209
209
  getObjectTypes(_parentId?: string): Array<ObjectType>;
210
210
  getCustomTypes(_parentId?: string): Array<ObjectType>;
@@ -276,7 +276,6 @@ declare class App {
276
276
  sl?: string;
277
277
  rl?: string;
278
278
  });
279
- looksLikePathOrUrl(str: any): boolean;
280
279
  load(_config: {
281
280
  pk?: string;
282
281
  fileUrl?: string;